Skip to end of metadata
Go to start of metadata

Defines the members that provides common logging functionalities.

Definition

public interface ILog

Summary

The following table summarizes the members exposed in this interface.

Methods

Debug(object) Log a message object with the Debug level.
Debug(object, object) Log a message object with the Debug level, including a custom data.
Debug(object, Dictionary<string, object>) Log a message object with the Debug level, including a dictionary of custom data.
Debug(object, Exception) Log a message object with the Debug level.
DebugFormat(string, Object[]) Log a formatted message string with the Debug level.
DebugFormat(IFormatProvider, string, Object[]) Log a formatted message string with the Debug level.
Error(object) Log a message object with the Error level.
Error(object, object) Log a message object with the Error level, including a custom data.
Error(object, Dictionary<string, object>) Log a message object with the Error level, including a dictionary of custom data.
Error(object, Exception) Log a message object with the Error level.
ErrorFormat(string, Object[]) Log a formatted message string with the Error level.
ErrorFormat(IFormatProvider, string, Object[]) Log a formatted message string with the Error level.
Fatal(object) Log a message object with the Fatal level.
Fatal(object, object) Log a message object with the Fatal level, including a custom data.
Fatal(object, Dictionary<string, object>) Log a message object with the Fatal level, including a dictionary of custom data.
Fatal(object, Exception) Log a message object with Fatal level.
FatalFormat(string, Object[]) Log a formatted message string with the Fatal level.
FatalFormat(IFormatProvider, string, Object[]) Log a formatted message string with the Fatal level.
Info(object) Log a message with the Info level.
Info(object, object) Log a message with the Info level, including a custom data.
Info(object, Dictionary<string, object>) Log a message with the Info level, including a dictionary of custom data.
Info(object, Exception) Log a message with Info level.
InfoFormat(string, Object[]) Log a formatted message string with the Info level.
InfoFormat(IFormatProvider, string, Object[]) Log a formatted message string with the Info level.
Trace(object) Perform tracing with the specified message.
TraceFormat(string, Object[]) Perform tracing with string format.
TraceFormat(IFormatProvider, string, Object[]) Perform tracing with custom string format.
Warn(object) Log a message object with the Warn level.
Warn(object, object) Log a message object with the Warn level along with a custom data.
Warn(object, Dictionary<string, object>) Log a message object with the Warn level along with custom dictionary data.
Warn(object, Exception) Log a message object with the Warn level along with an exception.
WarnFormat(string, Object[]) Log a formatted message string with the Warn level.
WarnFormat(IFormatProvider, string, Object[]) Log a formatted message string with the Warn level.

Methods

void Debug(object message)

Log a message object with the Debug level.

Parameters

message Message.

void Debug(object message, object data)

Log a message object with the Debug level, including a custom data.

Parameters

message Message.
data Data.

void Debug(object message, Dictionary<string, object> data)

Log a message object with the Debug level, including a dictionary of custom data.

Parameters

message Message.
data Data.

void Debug(object message, Exception exception)

Log a message object with the Debug level.

Parameters

message Message.
exception Exception.

void DebugFormat(string format, Object[] data)

Log a formatted message string with the Debug level.

Parameters

format Format.
data Data.

void DebugFormat(IFormatProvider formatProvider, string format, Object[] data)

Log a formatted message string with the Debug level.

Parameters

formatProvider Format provider.
format Format.
data Data.

void Error(object message)

Log a message object with the Error level.

Parameters

message Message.

void Error(object message, object data)

Log a message object with the Error level, including a custom data.

Parameters

message Message.
data Data.

void Error(object message, Dictionary<string, object> data)

Log a message object with the Error level, including a dictionary of custom data.

Parameters

message Message.
data Data.

void Error(object message, Exception exception)

Log a message object with the Error level.

Parameters

message Message.
exception Exception.

void ErrorFormat(string format, Object[] data)

Log a formatted message string with the Error level.

Parameters

format Format.
data Data.

void ErrorFormat(IFormatProvider formatProvider, string format, Object[] data)

Log a formatted message string with the Error level.

Parameters

formatProvider Format provider.
format Format.
data Data.

void Fatal(object message)

Log a message object with the Fatal level.

Parameters

message Message.

void Fatal(object message, object data)

Log a message object with the Fatal level, including a custom data.

Parameters

message Message.
data Data.

void Fatal(object message, Dictionary<string, object> data)

Log a message object with the Fatal level, including a dictionary of custom data.

Parameters

message Message.
data Data.

void Fatal(object message, Exception exception)

Log a message object with Fatal level.

Parameters

message Message.
exception Exception.

void FatalFormat(string format, Object[] data)

Log a formatted message string with the Fatal level.

Parameters

format Format.
data Data.

void FatalFormat(IFormatProvider formatProvider, string format, Object[] data)

Log a formatted message string with the Fatal level.

Parameters

formatProvider Format provider.
format Format.
data Data.

void Info(object message)

Log a message with the Info level.

Parameters

message Message.

void Info(object message, object data)

Log a message with the Info level, including a custom data.

Parameters

message Message.
data Data.

void Info(object message, Dictionary<string, object> data)

Log a message with the Info level, including a dictionary of custom data.

Parameters

message Message.
data Data.

void Info(object message, Exception exception)

Log a message with Info level.

Parameters

message Message.
exception Exception.

void InfoFormat(string format, Object[] data)

Log a formatted message string with the Info level.

Parameters

format Format.
data Data.

void InfoFormat(IFormatProvider formatProvider, string format, Object[] data)

Log a formatted message string with the Info level.

Parameters

formatProvider Format provider.
format Format.
data Data.

ITracer Trace(object message)

Perform tracing with the specified message.

Parameters

message Message.

ITracer TraceFormat(string format, Object[] data)

Perform tracing with string format.

Parameters

format Format.
data Data.

Return Types

The format.

ITracer TraceFormat(IFormatProvider formatProvider, string format, Object[] data)

Perform tracing with custom string format.

Parameters

formatProvider Format provider.
format Format.
data Data.

Return Types

The format.

void Warn(object message)

Log a message object with the Warn level.

Parameters

message Message.

void Warn(object message, object data)

Log a message object with the Warn level along with a custom data.

Parameters

message Message.
data Data.

void Warn(object message, Dictionary<string, object> data)

Log a message object with the Warn level along with custom dictionary data.

Parameters

message Message.
data Data.

void Warn(object message, Exception exception)

Log a message object with the Warn level along with an exception.

Parameters

message Message.
exception Exception.

void WarnFormat(string format, Object[] data)

Log a formatted message string with the Warn level.

Parameters

format Format.
data Data.

void WarnFormat(IFormatProvider formatProvider, string format, Object[] data)

Log a formatted message string with the Warn level.

Parameters

formatProvider Format provider.
format Format.
data Data.
  • No labels