Show / Hide Table of Contents

Class SoLoggerInstance

Default implementation of ILogger. This implementation forwards all invocations directly to corresponding methods on SoLogger.

Inheritance
Object
SoLoggerInstance
Implements
ILogger
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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

Implements

ILogger

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top