Click or drag to resize

ILogger Interface

Implement this interface to create a custom logger. Then register the logger using the Bootstrapper

Namespace:  Crosser.Common.Logging
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
public interface ILogger

The ILogger type exposes the following members.

Methods
  NameDescription
Public methodDebug(String, Object)
Log to the underlying logger using the debug level
Public methodDebug(Exception, String, Object)
Log to the underlying logger using the debug level
Public methodError(String, Object)
Log to the underlying logger using the error level
Public methodError(Exception, String, Object)
Log to the underlying logger using the error level
Public methodFatal(String, Object)
Log to the underlying logger using the fatal level
Public methodFatal(Exception, String, Object)
Log to the underlying logger using the fatal level
Public methodGetLogEventLevel
Returns the LogEventLevel of the ILogger
Public methodInformation(String, Object)
Log to the underlying logger using the information level
Public methodInformation(Exception, String, Object)
Log to the underlying logger using the information level
Public methodLevelEnabled
Check if the LogEventLevel is enabled
Public methodSetLogEventLevel
Sets the loggers LogEventLevel
Public methodWarning(String, Object)
Log to the underlying logger using the warning level
Public methodWarning(Exception, String, Object)
Log to the underlying logger using the warning level
Public methodVerbose(String, Object)
Log to the underlying logger using the verbose level
Public methodVerbose(Exception, String, Object)
Log to the underlying logger using the verbose level
Top
See Also