|
Joutsen Logging v0.5.0+26-g72240ac
|
Extension methods for loggers that allow the easy creation of new scopes. More...
Static Public Member Functions | |
| static Logger | StartNewScope (this Logger logger, Scope scope) |
| Creates a new scoped logger for a predifined scope. | |
| static Logger | StartNewScope (this Logger logger, Scope scope, LogLevel level, string startMessage, string endMessage=null) |
| Creates a new scoped logger for a predifined scope that writes a specific start and end message. | |
| static Logger | StartNewScope (this Logger logger, Scope scope, LogLevel level, string startMessage, object[] parameters, string endMessage=null) |
| Creates a new scoped logger for a predifined scope that writes a specific start and end message. | |
| static Logger | StartNewScope (this Logger logger, Scope scope, LogLevel level, string startMessage, Map< string, object > parameters, string endMessage=null) |
| Creates a new scoped logger for a predifined scope that writes a specific start and end message. | |
| static Logger | StartNewScope (this Logger logger, Scope scope, LogLevel level, string startMessage, object parameter, string endMessage=null) |
| Creates a new scoped logger for a predifined scope that writes a specific start and end message. | |
| static Logger | StartNewScope (this Logger logger, Scope scope, LogLevel level, string startMessage, IEnumerable listParameter, string endMessage=null) |
| Creates a new scoped logger for a predifined scope that writes a specific start and end message. | |
| static Logger | StartNewScope (this Logger logger, Scope scope, LogRecord startRecord, LogRecord endRecord=null) |
| Creates a new scoped logger for a predifined scope that writes a specific start and end message. | |
Extension methods for loggers that allow the easy creation of new scopes.
|
static |
Creates a new scoped logger for a predifined scope.
| logger | the logger to call this mehtod on |
| scope | the new scope |
|
static |
Creates a new scoped logger for a predifined scope that writes a specific start and end message.
| logger | the logger to call this mehtod on |
| scope | the new scope |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| listParameter | the list parameter object to use in the startMessage |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new scoped logger for a predifined scope that writes a specific start and end message.
| logger | the logger to call this mehtod on |
| scope | the new scope |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| parameters | the named parameters to use in the startMessage |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new scoped logger for a predifined scope that writes a specific start and end message.
| logger | the logger to call this mehtod on |
| scope | the new scope |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| parameter | the parameter object to use in the startMessage |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new scoped logger for a predifined scope that writes a specific start and end message.
| logger | the logger to call this mehtod on |
| scope | the new scope |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| parameters | the positional parameters to use in the startMessage |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new scoped logger for a predifined scope that writes a specific start and end message.
| logger | the logger to call this mehtod on |
| scope | the new scope |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new scoped logger for a predifined scope that writes a specific start and end message.
| logger | the logger to call this mehtod on |
| scope | the new scope |
| startRecord | the record to write when the scope starts |
| endRecord | the record to write when the scope ends and the logger is disposed |