Proton DotNet
Public Member Functions | Properties | List of all members
Apache.Qpid.Proton.Logging.IProtonLogger Interface Reference

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...
 

Detailed Description

Proton defined logging API used to abstract the ultimate source of the logging service and provide consistent API mechanics to the proton code.

Member Function Documentation

◆ Debug() [1/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Debug ( string  message)

Logs a message at the debug level if enabled.

Parameters
messagethe message to be logged

◆ Debug() [2/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Debug ( string  message,
Exception  exception 
)

Logs a message along with the given exception if debug logging is enabled.

Parameters
messagethe description string to log with the exception
exceptionthe exception to log along with the message

◆ Debug() [3/5]

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.

Parameters
messagethe message format string
valuethe argument to provide for formatting

◆ Debug() [4/5]

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.

Parameters
messagethe message format string
value1the 1st argument to provide for formatting
value2the 2nd argument to provide for formatting

◆ Debug() [5/5]

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.

Parameters
messagethe message format string
valuesthe arguments to provide for formatting

◆ Error() [1/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Error ( string  message)

Logs a message at the error level if enabled.

Parameters
messagethe message to be logged

◆ Error() [2/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Error ( string  message,
Exception  exception 
)

Logs a message along with the given exception if error logging is enabled.

Parameters
messagethe description string to log with the exception
exceptionthe exception to log along with the message

◆ Error() [3/5]

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.

Parameters
messagethe message format string
valuethe argument to provide for formatting

◆ Error() [4/5]

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.

Parameters
messagethe message format string
value1the 1st argument to provide for formatting
value2the 2nd argument to provide for formatting

◆ Error() [5/5]

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.

Parameters
messagethe message format string
valuesthe arguments to provide for formatting

◆ Info() [1/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Info ( string  message)

Logs a message at the information level if enabled.

Parameters
messagethe message to be logged

◆ Info() [2/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Info ( string  message,
Exception  exception 
)

Logs a message along with the given exception if information logging is enabled.

Parameters
messagethe description string to log with the exception
exceptionthe exception to log along with the message

◆ Info() [3/5]

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.

Parameters
messagethe message format string
valuethe argument to provide for formatting

◆ Info() [4/5]

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.

Parameters
messagethe message format string
value1the 1st argument to provide for formatting
value2the 2nd argument to provide for formatting

◆ Info() [5/5]

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.

Parameters
messagethe message format string
valuesthe arguments to provide for formatting

◆ Trace() [1/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Trace ( string  message)

Logs a message at the trace level if enabled.

Parameters
messagethe message to be logged

◆ Trace() [2/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Trace ( string  message,
Exception  exception 
)

Logs a message along with the given exception if trace logging is enabled.

Parameters
messagethe description string to log with the exception
exceptionthe exception to log along with the message

◆ Trace() [3/5]

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.

Parameters
messagethe message format string
valuethe argument to provide for formatting

◆ Trace() [4/5]

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.

Parameters
messagethe message format string
value1the 1st argument to provide for formatting
value2the 2nd argument to provide for formatting

◆ Trace() [5/5]

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.

Parameters
messagethe message format string
valuesthe arguments to provide for formatting

◆ Warn() [1/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Warn ( string  message)

Logs a message at the warn level if enabled.

Parameters
messagethe message to be logged

◆ Warn() [2/5]

void Apache.Qpid.Proton.Logging.IProtonLogger.Warn ( string  message,
Exception  exception 
)

Logs a message along with the given exception if warn logging is enabled.

Parameters
messagethe description string to log with the exception
exceptionthe exception to log along with the message

◆ Warn() [3/5]

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.

Parameters
messagethe message format string
valuethe argument to provide for formatting

◆ Warn() [4/5]

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.

Parameters
messagethe message format string
value1the 1st argument to provide for formatting
value2the 2nd argument to provide for formatting

◆ Warn() [5/5]

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.

Parameters
messagethe message format string
valuesthe arguments to provide for formatting

Property Documentation

◆ IsDebugEnabled

bool Apache.Qpid.Proton.Logging.IProtonLogger.IsDebugEnabled
get

Returns true if logging configuration has enabled debug level logs.

◆ IsErrorEnabled

bool Apache.Qpid.Proton.Logging.IProtonLogger.IsErrorEnabled
get

Returns true if logging configuration has enabled error level logs.

◆ IsInfoEnabled

bool Apache.Qpid.Proton.Logging.IProtonLogger.IsInfoEnabled
get

Returns true if logging configuration has enabled information level logs.

◆ IsTraceEnabled

bool Apache.Qpid.Proton.Logging.IProtonLogger.IsTraceEnabled
get

Returns true if logging configuration has enabled trace level logs.

◆ IsWarnEnabled

bool Apache.Qpid.Proton.Logging.IProtonLogger.IsWarnEnabled
get

Returns true if logging configuration has enabled warning level logs.

◆ LoggerName

string Apache.Qpid.Proton.Logging.IProtonLogger.LoggerName
get

Returns the name that was used to create this logger instance.


The documentation for this interface was generated from the following file: