Interface for a logger. More...
Public Member Functions | |
void | Debug (object message) |
Logs a message at the Debug level. More... | |
void | Debug (object message, Exception exception) |
Logs a debug message with an exception. More... | |
void | DebugFormat (string format, params object[] args) |
Logs a formatted message string at the Debug level. More... | |
void | DebugFormat (IFormatProvider formatProvider, string format, params object[] args) |
Logs a formatted message string at the Debug level. More... | |
void | Error (object message) |
Logs a message at the Error level. More... | |
void | Error (object message, Exception exception) |
Logs a error message with an exception. More... | |
void | ErrorFormat (string format, params object[] args) |
Logs a formatted message string at the Error level. More... | |
void | ErrorFormat (IFormatProvider formatProvider, string format, params object[] args) |
Logs a formatted message string at the Error level. More... | |
void | Fatal (object message) |
Logs a message at the Fatal level. More... | |
void | Fatal (object message, Exception exception) |
Logs a fatal message with an exception. More... | |
void | FatalFormat (string format, params object[] args) |
Logs a formatted message string at the Fatal level. More... | |
void | FatalFormat (IFormatProvider formatProvider, string format, params object[] args) |
Logs a formatted message string at the Fatal level. More... | |
void | Info (object message) |
Logs a message at the Info level. More... | |
void | Info (object message, Exception exception) |
Logs a warn message with an exception. More... | |
void | InfoFormat (string format, params object[] args) |
Logs a formatted message string at the Info level. More... | |
void | InfoFormat (IFormatProvider formatProvider, string format, params object[] args) |
Logs a formatted message string at the Info level. More... | |
void | Warn (object message) |
Logs a message at the Warn level. More... | |
void | Warn (object message, Exception exception) |
Logs a warn message with an exception. More... | |
void | WarnFormat (string format, params object[] args) |
Logs a formatted message string at the Info level. More... | |
void | WarnFormat (IFormatProvider formatProvider, string format, params object[] args) |
Logs a formatted message string at the Warn level. More... | |
Properties | |
bool | IsDebugEnabled [get] |
Gets a value indicating whether debug logging level is enabled. More... | |
bool | IsErrorEnabled [get] |
Gets a value indicating whether error logging level is enabled. More... | |
bool | IsFatalEnabled [get] |
Gets a value indicating whether fatal logging level is enabled. More... | |
bool | IsInfoEnabled [get] |
Gets a value indicating whether info logging level is enabled. More... | |
bool | IsWarnEnabled [get] |
Gets a value indicating whether warn logging level is enabled. More... | |
string | Name [get] |
Gets the name of the logger. More... | |
Interface for a logger.
void ExitGames.Logging.ILogger.Debug | ( | object | message | ) |
Logs a message at the Debug level.
message | The message to log. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Debug | ( | object | message, |
Exception | exception | ||
) |
Logs a debug message with an exception.
message | The message to log. |
exception | An exception to be logged. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.DebugFormat | ( | IFormatProvider | formatProvider, |
string | format, | ||
params object[] | args | ||
) |
Logs a formatted message string at the Debug level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
formatProvider | An IFormatProvider that supplies culture-specific formatting information. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.DebugFormat | ( | string | format, |
params object[] | args | ||
) |
Logs a formatted message string at the Debug level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Error | ( | object | message | ) |
Logs a message at the Error level.
message | The message to log. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Error | ( | object | message, |
Exception | exception | ||
) |
Logs a error message with an exception.
message | The message to log. |
exception | An exception to be logged. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.ErrorFormat | ( | IFormatProvider | formatProvider, |
string | format, | ||
params object[] | args | ||
) |
Logs a formatted message string at the Error level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
formatProvider | An IFormatProvider that supplies culture-specific formatting information. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.ErrorFormat | ( | string | format, |
params object[] | args | ||
) |
Logs a formatted message string at the Error level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Fatal | ( | object | message | ) |
Logs a message at the Fatal level.
message | The message to log. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Fatal | ( | object | message, |
Exception | exception | ||
) |
Logs a fatal message with an exception.
message | The message to log. |
exception | An exception to be logged. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.FatalFormat | ( | IFormatProvider | formatProvider, |
string | format, | ||
params object[] | args | ||
) |
Logs a formatted message string at the Fatal level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
formatProvider | An IFormatProvider that supplies culture-specific formatting information. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.FatalFormat | ( | string | format, |
params object[] | args | ||
) |
Logs a formatted message string at the Fatal level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Info | ( | object | message | ) |
Logs a message at the Info level.
message | The message to log. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Info | ( | object | message, |
Exception | exception | ||
) |
Logs a warn message with an exception.
message | The message to log. |
exception | An exception to be logged. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.InfoFormat | ( | IFormatProvider | formatProvider, |
string | format, | ||
params object[] | args | ||
) |
Logs a formatted message string at the Info level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
formatProvider | An IFormatProvider that supplies culture-specific formatting information. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.InfoFormat | ( | string | format, |
params object[] | args | ||
) |
Logs a formatted message string at the Info level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Warn | ( | object | message | ) |
Logs a message at the Warn level.
message | The message to log. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.Warn | ( | object | message, |
Exception | exception | ||
) |
Logs a warn message with an exception.
message | The message to log. |
exception | An exception to be logged. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.WarnFormat | ( | IFormatProvider | formatProvider, |
string | format, | ||
params object[] | args | ||
) |
Logs a formatted message string at the Warn level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
formatProvider | An IFormatProvider that supplies culture-specific formatting information. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
void ExitGames.Logging.ILogger.WarnFormat | ( | string | format, |
params object[] | args | ||
) |
Logs a formatted message string at the Info level.
format | A composite format string. |
args | An object array that contains zero or more objects to format. |
Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.
|
get |
Gets a value indicating whether debug logging level is enabled.
|
get |
Gets a value indicating whether error logging level is enabled.
|
get |
Gets a value indicating whether fatal logging level is enabled.
|
get |
Gets a value indicating whether info logging level is enabled.
|
get |
Gets a value indicating whether warn logging level is enabled.
|
get |
Gets the name of the logger.