Interface ILogger
- Namespace
- Zendesk.MessagingCore.Logging
Defines methods for logging messages, errors, warnings, exceptions etc.
public interface ILogger : IDisposable
- Inherited Members
Methods
Log(string, string, int)
Logs a message.
void Log(string className, string message, int lineNumber = 0)
Parameters
className
stringThe name of the class logging the message.
message
stringThe message to log.
lineNumber
intcaller line number
LogError(string, string, int)
Logs an error message.
void LogError(string className, string message, int lineNumber = 0)
Parameters
className
stringThe name of the class logging the error message.
message
stringThe error message to log.
lineNumber
intcaller line number
LogException(string, Exception, int)
Logs an exception.
void LogException(string className, Exception exception, int lineNumber = 0)
Parameters
className
stringThe name of the class logging the exception.
exception
ExceptionThe exception to log.
lineNumber
intcaller line number
LogWarning(string, string, int)
Logs a warning message.
void LogWarning(string className, string message, int lineNumber = 0)