|
Joutsen Logging v0.5.0+26-g72240ac
|
Extension methods for loggers that allow the easy creation of loggers that log records in the scope of generic type and method name. More...
Static Public Member Functions | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, [CallerMemberName]string methodName=null) |
| Creates a new logger for the generic types scope and a method name. | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, LogLevel level, string startMessage, [CallerMemberName]string methodName=null, string endMessage=null) |
| Creates a new logger for the generic types scope and a method name. | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, LogLevel level, string startMessage, Map< string, object > parameters, [CallerMemberName]string methodName=null, string endMessage=null) |
| Creates a new logger for the generic types scope and a method name. | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, LogLevel level, string startMessage, object parameter, [CallerMemberName]string methodName=null, string endMessage=null) |
| Creates a new logger for the generic types scope and a method name. | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, LogLevel level, string startMessage, object[] parameters, [CallerMemberName]string methodName=null, string endMessage=null) |
| Creates a new logger for the generic types scope and a method name. | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, LogLevel level, string startMessage, IEnumerable listParameter, [CallerMemberName]string methodName=null, string endMessage=null) |
| Creates a new logger for the generic types scope and a method name. | |
| static Logger< NewSourceType > | StartNewMethodScope< NewSourceType > (this Logger logger, LogRecord startRecord, [CallerMemberName]string methodName=null, LogRecord endRecord=null) |
| Creates a new logger for the generic types scope and a method name. | |
Extension methods for loggers that allow the easy creation of loggers that log records in the scope of generic type and method name.
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| level | the log level of the start and end message |
| startMessage | the message to write when the scope starts |
| listParameter | the list parameter to use in the startMessage |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| 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 |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| 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 |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| 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 |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
| endMessage | the message to write when the scope ends and the new logger is disposed |
|
static |
Creates a new logger for the generic types scope and a method name.
| logger | the logger to call this mehtod on |
| startRecord | the record to write when the scope starts |
| methodName | the name of the method that defines the scope. If not provided the compiler will fill in the calling methods name. |
| endRecord | the record to write when the scope ends and the logger is disposed |