Joutsen Logging v0.5.0+22-gec3d058
Public Member Functions | List of all members
Joutsen.Logging.Logger< SourceType > Interface Template Reference

Defines the interface for classes that can be used to log records in various formats to different handlers. More...

Public Member Functions

Guid Log (LogRecord record)
 Logs a record. More...
 
Guid Log (LogLevel level, string message, params object[] parameters)
 Logs a message of a specific log level. More...
 
Guid Log (LogLevel level, string message, object parameter)
 Logs a message of a specific log level. More...
 
Guid Log (LogLevel level, string message, Map< string, object > parameters)
 Logs a message of a specific log level. More...
 
Guid Log (LogLevel level, string message, IEnumerable listParameter)
 Logs a message of a specific log level with a list as parameter. More...
 
Guid Error (Exception exception, string message, Map< string, object > parameters)
 Logs an exception with an additional message. More...
 
Guid Error (Exception exception, string message, object parameter)
 Logs an exception with an additional message. More...
 
Guid Error (Exception exception, string message, params object[] parameters)
 Logs an exception with an additional message. More...
 
Guid Error (Exception exception)
 Logs an System.Exception as an error. More...
 
Guid Error (string message, Map< string, object > parameters)
 Logs an error message with parameters. More...
 
Guid Error (string message, object parameter)
 Logs an error message with parameters. More...
 
Guid Error (string message, params object[] parameters)
 Logs an error message with parameters. More...
 
Guid Error (string message, IEnumerable listParameter)
 Logs an error message with a list. More...
 
Guid Warning (string message, Map< string, object > parameters)
 Logs a warning message with parameters. More...
 
Guid Warning (string message, object parameter)
 Logs a warning message with parameters. More...
 
Guid Warning (string message, params object[] parameters)
 Logs a warning message with parameters. More...
 
Guid Warning (string message, IEnumerable listParameter)
 Logs an warning message with a list. More...
 
Guid Info (string message, Map< string, object > parameters)
 Logs an informational message with parameters. More...
 
Guid Info (string message, object parameter)
 Logs an informational message with parameters. More...
 
Guid Info (string message, params object[] parameters)
 Logs an informational message with parameters. More...
 
Guid Info (string message, IEnumerable listParameter)
 Logs an informational message with a list. More...
 
Guid Detail (string message, Map< string, object > parameters)
 Logs a detail message with parameters. More...
 
Guid Detail (string message, object parameter)
 Logs a detail message with parameters. More...
 
Guid Detail (string message, params object[] parameters)
 Logs a detail message with parameters. More...
 
Guid Detail (string message, IEnumerable listParameter)
 Logs a detail message with a list. More...
 
Guid Verbose (string message, Map< string, object > parameters)
 Logs a verbose message with parameters. More...
 
Guid Verbose (string message, object parameter)
 Logs a verbose message with parameters. More...
 
Guid Verbose (string message, params object[] parameters)
 Logs a verbose message with parameters. More...
 
Guid Verbose (string message, IEnumerable listParameter)
 Logs a verbose message with a list. More...
 

Detailed Description

Defines the interface for classes that can be used to log records in various formats to different handlers.

Since
0.2.0

Member Function Documentation

◆ Detail() [1/4]

Guid Joutsen.Logging.Logger< SourceType >.Detail ( string  message,
IEnumerable  listParameter 
)

Logs a detail message with a list.

The list's values will be visible in the log message not the result of the list's @seefw{System.Object.ToString method.

Parameters
messagethe message to log
listParameterthe list which should be part of the messsage
Returns
the id of the logged record or an empty @seefw{System.Guid} if the record was filtered out
Since
Unreleased

◆ Detail() [2/4]

Guid Joutsen.Logging.Logger< SourceType >.Detail ( string  message,
Map< string, object >  parameters 
)

Logs a detail message with parameters.

Parameters
messagethe warning message
parametersthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
Unreleased

◆ Detail() [3/4]

Guid Joutsen.Logging.Logger< SourceType >.Detail ( string  message,
object  parameter 
)

Logs a detail message with parameters.

Parameters
messagethe warning message
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
Unreleased

◆ Detail() [4/4]

Guid Joutsen.Logging.Logger< SourceType >.Detail ( string  message,
params object[]  parameters 
)

Logs a detail message with parameters.

Parameters
messagethe warning message
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
Unreleased

◆ Error() [1/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( Exception  exception)

Logs an System.Exception as an error.

Parameters
exceptionthe exception to log
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Error() [2/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( Exception  exception,
string  message,
Map< string, object >  parameters 
)

Logs an exception with an additional message.

Parameters
exceptionthe exception to log
messagethe additional message to log
parametersthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Error() [3/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( Exception  exception,
string  message,
object  parameter 
)

Logs an exception with an additional message.

Parameters
exceptionthe exception to log
messagethe additional message to log
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Error() [4/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( Exception  exception,
string  message,
params object[]  parameters 
)

Logs an exception with an additional message.

Parameters
exceptionthe exception to log
messagethe additional message to log
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Error() [5/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( string  message,
IEnumerable  listParameter 
)

Logs an error message with a list.

The list's values will be visible in the log message not the result of the list's @seefw{System.Object.ToString method.

Parameters
messagethe message to log
listParameterthe list which should be part of the messsage
Returns
the id of the logged record or an empty @seefw{System.Guid} if the record was filtered out
Since
0.3.0

◆ Error() [6/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( string  message,
Map< string, object >  parameters 
)

Logs an error message with parameters.

Parameters
messagethe message to log
parametersthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Error() [7/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( string  message,
object  parameter 
)

Logs an error message with parameters.

Parameters
messagethe message to log
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Error() [8/8]

Guid Joutsen.Logging.Logger< SourceType >.Error ( string  message,
params object[]  parameters 
)

Logs an error message with parameters.

Parameters
messagethe message to log
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Info() [1/4]

Guid Joutsen.Logging.Logger< SourceType >.Info ( string  message,
IEnumerable  listParameter 
)

Logs an informational message with a list.

The list's values will be visible in the log message not the result of the list's @seefw{System.Object.ToString method.

Parameters
messagethe message to log
listParameterthe list which should be part of the messsage
Returns
the id of the logged record or an empty @seefw{System.Guid} if the record was filtered out
Since
0.3.0

◆ Info() [2/4]

Guid Joutsen.Logging.Logger< SourceType >.Info ( string  message,
Map< string, object >  parameters 
)

Logs an informational message with parameters.

Parameters
messagethe message to log
parametersthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Info() [3/4]

Guid Joutsen.Logging.Logger< SourceType >.Info ( string  message,
object  parameter 
)

Logs an informational message with parameters.

Parameters
messagethe message to log
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Info() [4/4]

Guid Joutsen.Logging.Logger< SourceType >.Info ( string  message,
params object[]  parameters 
)

Logs an informational message with parameters.

Parameters
messagethe message to log
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Log() [1/5]

Guid Joutsen.Logging.Logger< SourceType >.Log ( LogLevel  level,
string  message,
IEnumerable  listParameter 
)

Logs a message of a specific log level with a list as parameter.

Parameters
logLevelthe message's log level
messagethe message
listParameterthe list which should be part of the messsage
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
0.3.0

◆ Log() [2/5]

Guid Joutsen.Logging.Logger< SourceType >.Log ( LogLevel  level,
string  message,
Map< string, object >  parameters 
)

Logs a message of a specific log level.

Parameters
logLevelthe message's log level
messagethe message
parameterthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Log() [3/5]

Guid Joutsen.Logging.Logger< SourceType >.Log ( LogLevel  level,
string  message,
object  parameter 
)

Logs a message of a specific log level.

Parameters
logLevelthe message's log level
messagethe message
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Log() [4/5]

Guid Joutsen.Logging.Logger< SourceType >.Log ( LogLevel  level,
string  message,
params object[]  parameters 
)

Logs a message of a specific log level.

Parameters
logLevelthe message's log level
messagethe message
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Log() [5/5]

Guid Joutsen.Logging.Logger< SourceType >.Log ( LogRecord  record)

Logs a record.

Parameters
recordthe record to be logged
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Verbose() [1/4]

Guid Joutsen.Logging.Logger< SourceType >.Verbose ( string  message,
IEnumerable  listParameter 
)

Logs a verbose message with a list.

The list's values will be visible in the log message not the result of the list's @seefw{System.Object.ToString method.

Parameters
messagethe message to log
listParameterthe list which should be part of the messsage
Returns
the id of the logged record or an empty @seefw{System.Guid} if the record was filtered out
Since
Unreleased

◆ Verbose() [2/4]

Guid Joutsen.Logging.Logger< SourceType >.Verbose ( string  message,
Map< string, object >  parameters 
)

Logs a verbose message with parameters.

Parameters
messagethe warning message
parametersthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
Unreleased

◆ Verbose() [3/4]

Guid Joutsen.Logging.Logger< SourceType >.Verbose ( string  message,
object  parameter 
)

Logs a verbose message with parameters.

Parameters
messagethe warning message
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
Unreleased

◆ Verbose() [4/4]

Guid Joutsen.Logging.Logger< SourceType >.Verbose ( string  message,
params object[]  parameters 
)

Logs a verbose message with parameters.

Parameters
messagethe warning message
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out
Since
Unreleased

◆ Warning() [1/4]

Guid Joutsen.Logging.Logger< SourceType >.Warning ( string  message,
IEnumerable  listParameter 
)

Logs an warning message with a list.

The list's values will be visible in the log message not the result of the list's @seefw{System.Object.ToString method.

Parameters
messagethe message to log
listParameterthe list which should be part of the messsage
Returns
the id of the logged record or an empty @seefw{System.Guid} if the record was filtered out
Since
0.3.0

◆ Warning() [2/4]

Guid Joutsen.Logging.Logger< SourceType >.Warning ( string  message,
Map< string, object >  parameters 
)

Logs a warning message with parameters.

Parameters
messagethe warning message
parametersthe parameters of the method defined by name value pairs
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Warning() [3/4]

Guid Joutsen.Logging.Logger< SourceType >.Warning ( string  message,
object  parameter 
)

Logs a warning message with parameters.

Parameters
messagethe warning message
parameterthe parameters of the message defined by the properties of the parameter object
Returns
the id of the logged record or an empty System.Guid if the record was filtered out

◆ Warning() [4/4]

Guid Joutsen.Logging.Logger< SourceType >.Warning ( string  message,
params object[]  parameters 
)

Logs a warning message with parameters.

Parameters
messagethe warning message
parametersthe parameters of the message defined by the index in the array
Returns
the id of the logged record or an empty System.Guid if the record was filtered out