Interface ILogger
Namespace: Casewhere.Infrastructure.Logging
Assembly: Casewhere.Infrastructure.Logging.dll
public interface ILogger
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<ILogger>(ILogger)
Methods
Debug(string)
void Debug(string message)
Parameters
message string
Debug(string, params object[])
void Debug(string message, params object[] propertyValues)
Parameters
message string
propertyValues object[]
Debug(Exception, string, params object[])
void Debug(Exception exception, string message, params object[] propertyValues)
Parameters
exception Exception
message string
propertyValues object[]
Error(string)
void Error(string message)
Parameters
message string
Error(string, params object[])
void Error(string message, params object[] propertyValues)
Parameters
message string
propertyValues object[]
Error(Exception, string, params object[])
void Error(Exception exception, string message, params object[] propertyValues)
Parameters
exception Exception
message string
propertyValues object[]
Fatal(string)
void Fatal(string message)
Parameters
message string
Fatal(string, params object[])
void Fatal(string message, params object[] propertyValues)
Parameters
message string
propertyValues object[]
Fatal(Exception, string, params object[])
void Fatal(Exception exception, string message, params object[] propertyValues)
Parameters
exception Exception
message string
propertyValues object[]
ForContext(string, object)
ILogger ForContext(string propertyName, object value)
Parameters
propertyName string
value object
Returns
Info(string)
void Info(string message)
Parameters
message string
Info(string, params object[])
void Info(string message, params object[] propertyValues)
Parameters
message string
propertyValues object[]
Info(Exception, string, params object[])
void Info(Exception exception, string message, params object[] propertyValues)
Parameters
exception Exception
message string
propertyValues object[]
SetSystemLogWriteProtector(ISystemLogWriteProtector)
void SetSystemLogWriteProtector(ISystemLogWriteProtector systemLogWriteProtector)
Parameters
systemLogWriteProtector ISystemLogWriteProtector
Verbose(string)
void Verbose(string message)
Parameters
message string
Verbose(string, params object[])
void Verbose(string message, params object[] propertyValues)
Parameters
message string
propertyValues object[]
Verbose(Exception, string, params object[])
void Verbose(Exception exception, string message, params object[] propertyValues)
Parameters
exception Exception
message string
propertyValues object[]
Warning(string)
void Warning(string message)
Parameters
message string
Warning(string, params object[])
void Warning(string message, params object[] propertyValues)
Parameters
message string
propertyValues object[]
Warning(Exception, string, params object[])
void Warning(Exception exception, string message, params object[] propertyValues)
Parameters
exception Exception
message string
propertyValues object[]