Interface ILogger
The logger interface for ZoneTree. You can create a wrapper Logger class to integrate with any logging library.
Namespace: Tenray.ZoneTree.Logger
Assembly: ZoneTree.dll
Syntax
public interface ILogger
Properties
| Improve this Doc View SourceLogLevel
Sets or gets the current log level.
Declaration
LogLevel LogLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |
Methods
| Improve this Doc View SourceLogError(Exception)
Logs an error.
Declaration
void LogError(Exception log)
Parameters
Type | Name | Description |
---|---|---|
Exception | log |
LogInfo(object)
Logs an information.
Declaration
void LogInfo(object log)
Parameters
Type | Name | Description |
---|---|---|
object | log |
LogTrace(object)
Logs a trace information.
Declaration
void LogTrace(object log)
Parameters
Type | Name | Description |
---|---|---|
object | log |
LogWarning(object)
Logs a warning.
Declaration
void LogWarning(object log)
Parameters
Type | Name | Description |
---|---|---|
object | log |