Show / Hide Table of Contents

Class Log

Inheritance
object
Log
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine
Assembly: PayrollEngine.Core.dll
Syntax
public static class Log

Properties

HasLogger

Declaration
public static bool HasLogger { get; }
Property Value
Type Description
bool

Logger

Declaration
public static ILogger Logger { get; }
Property Value
Type Description
ILogger

Methods

Critical(Exception, string, params object[])

Declaration
public static void Critical(Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
Exception exception
string messageTemplate
object[] propertyValues

Critical(string, params object[])

Declaration
public static void Critical(string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
string messageTemplate
object[] propertyValues

Debug(Exception, string, params object[])

Declaration
public static void Debug(Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
Exception exception
string messageTemplate
object[] propertyValues

Debug(string, params object[])

Declaration
public static void Debug(string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
string messageTemplate
object[] propertyValues

Error(Exception, string, params object[])

Declaration
public static void Error(Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
Exception exception
string messageTemplate
object[] propertyValues

Error(string, params object[])

Declaration
public static void Error(string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
string messageTemplate
object[] propertyValues

Information(Exception, string, params object[])

Declaration
public static void Information(Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
Exception exception
string messageTemplate
object[] propertyValues

Information(string, params object[])

Declaration
public static void Information(string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
string messageTemplate
object[] propertyValues

IsEnabled(LogLevel)

Declaration
public static bool IsEnabled(LogLevel level)
Parameters
Type Name Description
LogLevel level
Returns
Type Description
bool

SetLogger(ILogger)

Declaration
public static void SetLogger(ILogger value)
Parameters
Type Name Description
ILogger value

Trace(Exception, string, params object[])

Declaration
public static void Trace(Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
Exception exception
string messageTemplate
object[] propertyValues

Trace(string, params object[])

Declaration
public static void Trace(string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
string messageTemplate
object[] propertyValues

Warning(Exception, string, params object[])

Declaration
public static void Warning(Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
Exception exception
string messageTemplate
object[] propertyValues

Warning(string, params object[])

Declaration
public static void Warning(string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
string messageTemplate
object[] propertyValues

Write(LogLevel, Exception, string, params object[])

Declaration
public static void Write(LogLevel level, Exception exception, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
LogLevel level
Exception exception
string messageTemplate
object[] propertyValues

Write(LogLevel, string, params object[])

Declaration
public static void Write(LogLevel level, string messageTemplate, params object[] propertyValues)
Parameters
Type Name Description
LogLevel level
string messageTemplate
object[] propertyValues
☀
☾
Back to top Generated by DocFX