Class ZendeskLogger
The ZendeskLogger is a class responsible for handling logging in the Zendesk Sdk.
public sealed class ZendeskLogger
- Inheritance
-
ZendeskLogger
- Inherited Members
Methods
IsLogEnabled()
Checks whether logging is enabled for the Logger class.
public static bool IsLogEnabled()
Returns
- bool
Returns true if logging is enabled, otherwise false.
SetEnabled(bool)
Toggle whether logs are enabled/disabled.
public static void SetEnabled(bool logEnabled)
Parameters
logEnabled
boolToggle to enable/disable logs.
SetLogHandler(ILogger)
Sets the log handler for the ZendeskLogger class.
public static void SetLogHandler(ILogger logger)
Parameters
logger
ILoggerAn object that implements the Zendesk.MessagingCore.Logging.ILogger interface.