Proton DotNet
|
Proton defined logging API used to abstract the ultimate source of the logging service and provide consistent API mechanics to the proton code. More...
Inherited by Apache.Qpid.Proton.Logging.ProtonLoggerWrapper.
Public Member Functions | |
void | Trace (string message) |
Logs a message at the trace level if enabled. More... | |
void | Trace (string message, object value) |
Logs a message after applying a string format to the message and providing the given argument if trace level logging is enabled. More... | |
void | Trace (string message, object value1, object value2) |
Logs a message after applying a string format to the message and providing the given arguments if trace level logging is enabled. More... | |
void | Trace (string message, params object[] values) |
Logs a message after applying a string format to the message and providing the given arguments if trace level logging is enabled. More... | |
void | Trace (string message, Exception exception) |
Logs a message along with the given exception if trace logging is enabled. More... | |
void | Debug (string message) |
Logs a message at the debug level if enabled. More... | |
void | Debug (string message, object value) |
Logs a message after applying a string format to the message and providing the given argument if debug level logging is enabled. More... | |
void | Debug (string message, object value1, object value2) |
Logs a message after applying a string format to the message and providing the given arguments if debug level logging is enabled. More... | |
void | Debug (string message, params object[] values) |
Logs a message after applying a string format to the message and providing the given arguments if debug level logging is enabled. More... | |
void | Debug (string message, Exception exception) |
Logs a message along with the given exception if debug logging is enabled. More... | |
void | Info (string message) |
Logs a message at the information level if enabled. More... | |
void | Info (string message, object value) |
Logs a message after applying a string format to the message and providing the given argument if information level logging is enabled. More... | |
void | Info (string message, object value1, object value2) |
Logs a message after applying a string format to the message and providing the given arguments if information level logging is enabled. More... | |
void | Info (string message, params object[] values) |
Logs a message after applying a string format to the message and providing the given arguments if information level logging is enabled. More... | |
void | Info (string message, Exception exception) |
Logs a message along with the given exception if information logging is enabled. More... | |
void | Warn (string message) |
Logs a message at the warn level if enabled. More... | |
void | Warn (string message, object value) |
Logs a message after applying a string format to the message and providing the given argument if warn level logging is enabled. More... | |
void | Warn (string message, object value1, object value2) |
Logs a message after applying a string format to the message and providing the given arguments if warn level logging is enabled. More... | |
void | Warn (string message, params object[] values) |
Logs a message after applying a string format to the message and providing the given arguments if warn level logging is enabled. More... | |
void | Warn (string message, Exception exception) |
Logs a message along with the given exception if warn logging is enabled. More... | |
void | Error (string message) |
Logs a message at the error level if enabled. More... | |
void | Error (string message, object value) |
Logs a message after applying a string format to the message and providing the given argument if error level logging is enabled. More... | |
void | Error (string message, object value1, object value2) |
Logs a message after applying a string format to the message and providing the given arguments if error level logging is enabled. More... | |
void | Error (string message, params object[] values) |
Logs a message after applying a string format to the message and providing the given arguments if error level logging is enabled. More... | |
void | Error (string message, Exception exception) |
Logs a message along with the given exception if error logging is enabled. More... | |
Properties | |
string | LoggerName [get] |
Returns the name that was used to create this logger instance. More... | |
bool | IsTraceEnabled [get] |
Returns true if logging configuration has enabled trace level logs. More... | |
bool | IsDebugEnabled [get] |
Returns true if logging configuration has enabled debug level logs. More... | |
bool | IsInfoEnabled [get] |
Returns true if logging configuration has enabled information level logs. More... | |
bool | IsWarnEnabled [get] |
Returns true if logging configuration has enabled warning level logs. More... | |
bool | IsErrorEnabled [get] |
Returns true if logging configuration has enabled error level logs. More... | |
Proton defined logging API used to abstract the ultimate source of the logging service and provide consistent API mechanics to the proton code.
void Apache.Qpid.Proton.Logging.IProtonLogger.Debug | ( | string | message | ) |
Logs a message at the debug level if enabled.
message | the message to be logged |
void Apache.Qpid.Proton.Logging.IProtonLogger.Debug | ( | string | message, |
Exception | exception | ||
) |
Logs a message along with the given exception if debug logging is enabled.
message | the description string to log with the exception |
exception | the exception to log along with the message |
void Apache.Qpid.Proton.Logging.IProtonLogger.Debug | ( | string | message, |
object | value | ||
) |
Logs a message after applying a string format to the message and providing the given argument if debug level logging is enabled.
message | the message format string |
value | the argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Debug | ( | string | message, |
object | value1, | ||
object | value2 | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if debug level logging is enabled.
message | the message format string |
value1 | the 1st argument to provide for formatting |
value2 | the 2nd argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Debug | ( | string | message, |
params object[] | values | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if debug level logging is enabled.
message | the message format string |
values | the arguments to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Error | ( | string | message | ) |
Logs a message at the error level if enabled.
message | the message to be logged |
void Apache.Qpid.Proton.Logging.IProtonLogger.Error | ( | string | message, |
Exception | exception | ||
) |
Logs a message along with the given exception if error logging is enabled.
message | the description string to log with the exception |
exception | the exception to log along with the message |
void Apache.Qpid.Proton.Logging.IProtonLogger.Error | ( | string | message, |
object | value | ||
) |
Logs a message after applying a string format to the message and providing the given argument if error level logging is enabled.
message | the message format string |
value | the argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Error | ( | string | message, |
object | value1, | ||
object | value2 | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if error level logging is enabled.
message | the message format string |
value1 | the 1st argument to provide for formatting |
value2 | the 2nd argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Error | ( | string | message, |
params object[] | values | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if error level logging is enabled.
message | the message format string |
values | the arguments to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Info | ( | string | message | ) |
Logs a message at the information level if enabled.
message | the message to be logged |
void Apache.Qpid.Proton.Logging.IProtonLogger.Info | ( | string | message, |
Exception | exception | ||
) |
Logs a message along with the given exception if information logging is enabled.
message | the description string to log with the exception |
exception | the exception to log along with the message |
void Apache.Qpid.Proton.Logging.IProtonLogger.Info | ( | string | message, |
object | value | ||
) |
Logs a message after applying a string format to the message and providing the given argument if information level logging is enabled.
message | the message format string |
value | the argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Info | ( | string | message, |
object | value1, | ||
object | value2 | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if information level logging is enabled.
message | the message format string |
value1 | the 1st argument to provide for formatting |
value2 | the 2nd argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Info | ( | string | message, |
params object[] | values | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if information level logging is enabled.
message | the message format string |
values | the arguments to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Trace | ( | string | message | ) |
Logs a message at the trace level if enabled.
message | the message to be logged |
void Apache.Qpid.Proton.Logging.IProtonLogger.Trace | ( | string | message, |
Exception | exception | ||
) |
Logs a message along with the given exception if trace logging is enabled.
message | the description string to log with the exception |
exception | the exception to log along with the message |
void Apache.Qpid.Proton.Logging.IProtonLogger.Trace | ( | string | message, |
object | value | ||
) |
Logs a message after applying a string format to the message and providing the given argument if trace level logging is enabled.
message | the message format string |
value | the argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Trace | ( | string | message, |
object | value1, | ||
object | value2 | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if trace level logging is enabled.
message | the message format string |
value1 | the 1st argument to provide for formatting |
value2 | the 2nd argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Trace | ( | string | message, |
params object[] | values | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if trace level logging is enabled.
message | the message format string |
values | the arguments to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Warn | ( | string | message | ) |
Logs a message at the warn level if enabled.
message | the message to be logged |
void Apache.Qpid.Proton.Logging.IProtonLogger.Warn | ( | string | message, |
Exception | exception | ||
) |
Logs a message along with the given exception if warn logging is enabled.
message | the description string to log with the exception |
exception | the exception to log along with the message |
void Apache.Qpid.Proton.Logging.IProtonLogger.Warn | ( | string | message, |
object | value | ||
) |
Logs a message after applying a string format to the message and providing the given argument if warn level logging is enabled.
message | the message format string |
value | the argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Warn | ( | string | message, |
object | value1, | ||
object | value2 | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if warn level logging is enabled.
message | the message format string |
value1 | the 1st argument to provide for formatting |
value2 | the 2nd argument to provide for formatting |
void Apache.Qpid.Proton.Logging.IProtonLogger.Warn | ( | string | message, |
params object[] | values | ||
) |
Logs a message after applying a string format to the message and providing the given arguments if warn level logging is enabled.
message | the message format string |
values | the arguments to provide for formatting |
|
get |
Returns true if logging configuration has enabled debug level logs.
|
get |
Returns true if logging configuration has enabled error level logs.
|
get |
Returns true if logging configuration has enabled information level logs.
|
get |
Returns true if logging configuration has enabled trace level logs.
|
get |
Returns true if logging configuration has enabled warning level logs.
|
get |
Returns the name that was used to create this logger instance.