|
Joutsen Logging v0.5.0+26-g72240ac
|
A basic implementation of a logger without configuration options. More...
Public Member Functions | |
| void | Dispose () |
| virtual Guid | Log (LogRecord record) |
| Logs a record. | |
| Guid | Log (LogLevel level, string message, params object[] parameters) |
| Logs a message of a specific log level. | |
| Guid | Log (LogLevel level, string message, object parameter) |
| Logs a message of a specific log level. | |
| Guid | Log (LogLevel level, string message, Map< string, object > parameters) |
| Logs a message of a specific log level. | |
| Guid | Log (LogLevel level, string message, IEnumerable listParameter) |
| Logs a message of a specific log level with a list as parameter. | |
| Guid | Error (Exception exception, string message, Map< string, object > parameters) |
| Logs an exception with an additional message. | |
| Guid | Error (Exception exception, string message, object parameter) |
| Logs an exception with an additional message. | |
| Guid | Error (Exception exception, string message, params object[] parameters) |
| Logs an exception with an additional message. | |
| Guid | Error (Exception exception) |
| Logs an System.Exception as an error. | |
| Guid | Error (string message, Map< string, object > parameters) |
| Logs an error message with parameters. | |
| Guid | Error (string message, object parameter) |
| Logs an error message with parameters. | |
| Guid | Error (string message, params object[] parameters) |
| Logs an error message with parameters. | |
| Guid | Error (string message, IEnumerable listParameter) |
| Logs an error message with a list. | |
| Guid | Warning (string message, Map< string, object > parameters) |
| Logs a warning message with parameters. | |
| Guid | Warning (string message, object parameter) |
| Logs a warning message with parameters. | |
| Guid | Warning (string message, params object[] parameters) |
| Logs a warning message with parameters. | |
| Guid | Warning (string message, IEnumerable listParameter) |
| Logs an warning message with a list. | |
| Guid | Info (string message, Map< string, object > parameters) |
| Logs an informational message with parameters. | |
| Guid | Info (string message, object parameter) |
| Logs an informational message with parameters. | |
| Guid | Info (string message, params object[] parameters) |
| Logs an informational message with parameters. | |
| Guid | Info (string message, IEnumerable listParameter) |
| Logs an informational message with a list. | |
| Guid | Detail (string message, Map< string, object > parameters) |
| Logs a detail message with parameters. | |
| Guid | Detail (string message, object parameter) |
| Logs a detail message with parameters. | |
| Guid | Detail (string message, params object[] parameters) |
| Logs a detail message with parameters. | |
| Guid | Detail (string message, IEnumerable listParameter) |
| Logs a detail message with a list. | |
| Guid | Verbose (string message, Map< string, object > parameters) |
| Logs a verbose message with parameters. | |
| Guid | Verbose (string message, object parameter) |
| Logs a verbose message with parameters. | |
| Guid | Verbose (string message, params object[] parameters) |
| Logs a verbose message with parameters. | |
| Guid | Verbose (string message, IEnumerable listParameter) |
| Logs a verbose message with a list. | |
Protected Member Functions | |
| virtual bool | IsLoggable (LogRecord record) |
| Checks if a record is loggabe by this instance of a logger. | |
Events | |
| Action< LogRecord > | Publish |
A basic implementation of a logger without configuration options.
| Guid Joutsen.Logging.AbstractLogger.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.
| message | the message to log |
| listParameter | the list which should be part of the messsage |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Detail | ( | string | message, |
| Map< string, object > | parameters | ||
| ) |
Logs a detail message with parameters.
| message | the warning message |
| parameters | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Detail | ( | string | message, |
| object | parameter | ||
| ) |
Logs a detail message with parameters.
| message | the warning message |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Detail | ( | string | message, |
| params object[] | parameters | ||
| ) |
Logs a detail message with parameters.
| message | the warning message |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
|
abstract |
| Guid Joutsen.Logging.AbstractLogger.Error | ( | Exception | exception | ) |
Logs an System.Exception as an error.
| exception | the exception to log |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Error | ( | Exception | exception, |
| string | message, | ||
| Map< string, object > | parameters | ||
| ) |
Logs an exception with an additional message.
| exception | the exception to log |
| message | the additional message to log |
| parameters | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Error | ( | Exception | exception, |
| string | message, | ||
| object | parameter | ||
| ) |
Logs an exception with an additional message.
| exception | the exception to log |
| message | the additional message to log |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Error | ( | Exception | exception, |
| string | message, | ||
| params object[] | parameters | ||
| ) |
Logs an exception with an additional message.
| exception | the exception to log |
| message | the additional message to log |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.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.
| message | the message to log |
| listParameter | the list which should be part of the messsage |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Error | ( | string | message, |
| Map< string, object > | parameters | ||
| ) |
Logs an error message with parameters.
| message | the message to log |
| parameters | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Error | ( | string | message, |
| object | parameter | ||
| ) |
Logs an error message with parameters.
| message | the message to log |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Error | ( | string | message, |
| params object[] | parameters | ||
| ) |
Logs an error message with parameters.
| message | the message to log |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.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.
| message | the message to log |
| listParameter | the list which should be part of the messsage |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Info | ( | string | message, |
| Map< string, object > | parameters | ||
| ) |
Logs an informational message with parameters.
| message | the message to log |
| parameters | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Info | ( | string | message, |
| object | parameter | ||
| ) |
Logs an informational message with parameters.
| message | the message to log |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Info | ( | string | message, |
| params object[] | parameters | ||
| ) |
Logs an informational message with parameters.
| message | the message to log |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
|
protectedvirtual |
Checks if a record is loggabe by this instance of a logger.
Reimplemented in Joutsen.Logging.DefaultLogger.
| Guid Joutsen.Logging.AbstractLogger.Log | ( | LogLevel | level, |
| string | message, | ||
| IEnumerable | listParameter | ||
| ) |
Logs a message of a specific log level with a list as parameter.
| logLevel | the message's log level |
| message | the message |
| listParameter | the list which should be part of the messsage |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Log | ( | LogLevel | level, |
| string | message, | ||
| Map< string, object > | parameters | ||
| ) |
Logs a message of a specific log level.
| logLevel | the message's log level |
| message | the message |
| parameter | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Log | ( | LogLevel | level, |
| string | message, | ||
| object | parameter | ||
| ) |
Logs a message of a specific log level.
| logLevel | the message's log level |
| message | the message |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Log | ( | LogLevel | level, |
| string | message, | ||
| params object[] | parameters | ||
| ) |
Logs a message of a specific log level.
| logLevel | the message's log level |
| message | the message |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
|
virtual |
Logs a record.
| record | the record to be logged |
Implements Joutsen.Logging.Logger< SourceType >.
Reimplemented in Joutsen.Logging.AsyncLogger, and Joutsen.Logging.ScopedLogger.
| Guid Joutsen.Logging.AbstractLogger.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.
| message | the message to log |
| listParameter | the list which should be part of the messsage |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Verbose | ( | string | message, |
| Map< string, object > | parameters | ||
| ) |
Logs a verbose message with parameters.
| message | the warning message |
| parameters | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Verbose | ( | string | message, |
| object | parameter | ||
| ) |
Logs a verbose message with parameters.
| message | the warning message |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Verbose | ( | string | message, |
| params object[] | parameters | ||
| ) |
Logs a verbose message with parameters.
| message | the warning message |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.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.
| message | the message to log |
| listParameter | the list which should be part of the messsage |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Warning | ( | string | message, |
| Map< string, object > | parameters | ||
| ) |
Logs a warning message with parameters.
| message | the warning message |
| parameters | the parameters of the method defined by name value pairs |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Warning | ( | string | message, |
| object | parameter | ||
| ) |
Logs a warning message with parameters.
| message | the warning message |
| parameter | the parameters of the message defined by the properties of the parameter object |
Implements Joutsen.Logging.Logger< SourceType >.
| Guid Joutsen.Logging.AbstractLogger.Warning | ( | string | message, |
| params object[] | parameters | ||
| ) |
Logs a warning message with parameters.
| message | the warning message |
| parameters | the parameters of the message defined by the index in the array |
Implements Joutsen.Logging.Logger< SourceType >.
|
protected |