Class SoLoggerInstance
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Implements
Inherited Members
Namespace: SuperOffice.Diagnostics
Assembly: SOCore.dll
Syntax
[SoInject]
public class SoLoggerInstance : ILogger
Constructors
SoLoggerInstance()
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Declaration
public SoLoggerInstance()
Methods
LogError(Exception)
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Declaration
public void LogError(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex |
LogError(Type, String, String)
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Declaration
public void LogError(Type sourceType, string message, string details)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | |
String | message | |
String | details |
LogInformation(Type, String, String, Boolean)
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Declaration
public void LogInformation(Type sourceType, string message, string details, bool lightLogOutput)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | |
String | message | |
String | details | |
Boolean | lightLogOutput |
LogWarning(Exception)
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Declaration
public void LogWarning(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex |
LogWarning(Type, String, String)
Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.
Declaration
public void LogWarning(Type sourceType, string message, string details)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | |
String | message | |
String | details |