ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Provides a logging interface with various levels of logging. More...
Public Member Functions | |
void | Debug (object message) |
Logs a debug message. | |
void | Debug (object message, Exception exception) |
Logs a debug message with an associated exception. | |
void | DebugFormat (string format, params object[] args) |
Logs a formatted debug message. | |
void | DebugFormat (IFormatProvider provider, string format, params object[] args) |
Logs a formatted debug message with an IFormatProvider. | |
void | Error (object message) |
Logs an error message. | |
void | Error (object message, Exception exception) |
Logs an error message with an associated exception. | |
void | ErrorFormat (string format, params object[] args) |
Logs a formatted error message. | |
void | ErrorFormat (IFormatProvider provider, string format, params object[] args) |
Logs a formatted error message with an IFormatProvider. | |
void | Fatal (object message) |
Logs a fatal message. | |
void | Fatal (object message, Exception exception) |
Logs a fatal message with an associated exception. | |
void | FatalFormat (string format, params object[] args) |
Logs a formatted fatal message. | |
void | FatalFormat (IFormatProvider provider, string format, params object[] args) |
Logs a formatted fatal message with an IFormatProvider. | |
void | Info (object message) |
Logs an informational message. | |
void | Info (object message, Exception exception) |
Logs an informational message with an associated exception. | |
void | InfoFormat (string format, params object[] args) |
Logs a formatted informational message. | |
void | InfoFormat (IFormatProvider provider, string format, params object[] args) |
Logs a formatted informational message with an IFormatProvider. | |
void | Warn (object message) |
Logs a warning message. | |
void | Warn (object message, Exception exception) |
Logs a warning message with an associated exception. | |
void | WarnFormat (string format, params object[] args) |
Logs a formatted warning message. | |
void | WarnFormat (IFormatProvider provider, string format, params object[] args) |
Logs a formatted warning message with an IFormatProvider. | |
Properties | |
bool | IsDebugEnabled [get] |
Gets a value indicating whether debug logging is enabled. | |
bool | IsErrorEnabled [get] |
Gets a value indicating whether error logging is enabled. | |
bool | IsFatalEnabled [get] |
Gets a value indicating whether fatal logging is enabled. | |
bool | IsInfoEnabled [get] |
Gets a value indicating whether info logging is enabled. | |
bool | IsWarnEnabled [get] |
Gets a value indicating whether warning logging is enabled. | |
string | Name [get] |
Gets the name of the logger. | |
Provides a logging interface with various levels of logging.
void XmobiTea.Logging.ILogger.Debug | ( | object | message | ) |
Logs a debug message.
message | The message to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Debug | ( | object | message, |
Exception | exception ) |
Logs a debug message with an associated exception.
message | The message to log. |
exception | The exception to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.DebugFormat | ( | IFormatProvider | provider, |
string | format, | ||
params object[] | args ) |
Logs a formatted debug message with an IFormatProvider.
provider | The format provider. |
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.DebugFormat | ( | string | format, |
params object[] | args ) |
Logs a formatted debug message.
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Error | ( | object | message | ) |
Logs an error message.
message | The message to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Error | ( | object | message, |
Exception | exception ) |
Logs an error message with an associated exception.
message | The message to log. |
exception | The exception to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.ErrorFormat | ( | IFormatProvider | provider, |
string | format, | ||
params object[] | args ) |
Logs a formatted error message with an IFormatProvider.
provider | The format provider. |
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.ErrorFormat | ( | string | format, |
params object[] | args ) |
Logs a formatted error message.
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Fatal | ( | object | message | ) |
Logs a fatal message.
message | The message to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Fatal | ( | object | message, |
Exception | exception ) |
Logs a fatal message with an associated exception.
message | The message to log. |
exception | The exception to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.FatalFormat | ( | IFormatProvider | provider, |
string | format, | ||
params object[] | args ) |
Logs a formatted fatal message with an IFormatProvider.
provider | The format provider. |
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.FatalFormat | ( | string | format, |
params object[] | args ) |
Logs a formatted fatal message.
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Info | ( | object | message | ) |
Logs an informational message.
message | The message to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Info | ( | object | message, |
Exception | exception ) |
Logs an informational message with an associated exception.
message | The message to log. |
exception | The exception to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.InfoFormat | ( | IFormatProvider | provider, |
string | format, | ||
params object[] | args ) |
Logs a formatted informational message with an IFormatProvider.
provider | The format provider. |
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.InfoFormat | ( | string | format, |
params object[] | args ) |
Logs a formatted informational message.
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Warn | ( | object | message | ) |
Logs a warning message.
message | The message to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.Warn | ( | object | message, |
Exception | exception ) |
Logs a warning message with an associated exception.
message | The message to log. |
exception | The exception to log. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.WarnFormat | ( | IFormatProvider | provider, |
string | format, | ||
params object[] | args ) |
Logs a formatted warning message with an IFormatProvider.
provider | The format provider. |
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
void XmobiTea.Logging.ILogger.WarnFormat | ( | string | format, |
params object[] | args ) |
Logs a formatted warning message.
format | The format string. |
args | The arguments for the format string. |
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
|
get |
Gets a value indicating whether debug logging is enabled.
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
|
get |
Gets a value indicating whether error logging is enabled.
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
|
get |
Gets a value indicating whether fatal logging is enabled.
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
|
get |
Gets a value indicating whether info logging is enabled.
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
|
get |
Gets a value indicating whether warning logging is enabled.
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.
|
get |
Gets the name of the logger.
Implemented in XmobiTea.Logging.Console.ConsoleLogger, XmobiTea.Logging.Empty.EmptyLogger, and XmobiTea.Logging.Log4Net.Log4NetLogger.