|
Joutsen Logging v0.5.0+26-g72240ac
|
Extension methods for loggers that allow the easy creation of loggers that log records as children of a specified parent record. More...
Static Public Member Functions | |
| static Logger | StartChildScope (this Logger logger, Guid parentId) |
| Creates a new child scoped logger that uses a specific parent id. | |
| static Logger | StartChildScope (this Logger logger, Guid parentId, Scope childScope) |
| Creates a new child scoped logger that uses a specific parent id and a specific child scope. | |
| static Logger | StartChildScope (this Logger logger, LogRecord parentRecord, LogRecord endRecord=null) |
| Creates a new child scoped logger. | |
| static Logger | StartChildScope (this Logger logger, Scope childScope, LogRecord parentRecord, LogRecord endRecord=null) |
| Creates a new child scoped logger that uses a specific child scope. | |
| static Logger | StartChildScope (this Logger logger, LogLevel level, string parentMessage, string endMessage=null) |
| Creates a new child scoped logger. | |
| static Logger | StartChildScope (this Logger logger, Scope childScope, LogLevel level, string parentMessage, string endMessage=null) |
| Creates a new child scoped logger that uses a specific child scope. | |
| static Logger | StartChildScope (this Logger logger, LogLevel level, string parentMessage, object[] parameters, string endMessage=null) |
| Creates a new child scoped logger. | |
| static Logger | StartChildScope (this Logger logger, Scope childScope, LogLevel level, string parentMessage, object[] parameters, string endMessage=null) |
| Creates a new child scoped logger that uses a specific child scope. | |
| static Logger | StartChildScope (this Logger logger, LogLevel level, string parentMessage, Map< string, object > parameters, string endMessage=null) |
| Creates a new child scoped logger. | |
| static Logger | StartChildScope (this Logger logger, Scope childScope, LogLevel level, string parentMessage, Map< string, object > parameters, string endMessage=null) |
| Creates a new child scoped logger that uses a specific child scope. | |
| static Logger | StartChildScope (this Logger logger, LogLevel level, string parentMessage, object parameter, string endMessage=null) |
| Creates a new child scoped logger. | |
| static Logger | StartChildScope (this Logger logger, Scope childScope, LogLevel level, string parentMessage, object parameter, string endMessage=null) |
| Creates a new child scoped logger that uses a specific child scope. | |
| static Logger | StartChildScope (this Logger logger, LogLevel level, string parentMessage, IEnumerable listParameter, string endMessage=null) |
| Creates a new child scoped logger. | |
| static Logger | StartChildScope (this Logger logger, Scope childScope, LogLevel level, string parentMessage, IEnumerable listParameter, string endMessage=null) |
| Creates a new child scoped logger that uses a specific child scope. | |
Extension methods for loggers that allow the easy creation of loggers that log records as children of a specified parent record.
|
static |
Creates a new child scoped logger that uses a specific parent id.
| logger | the logger to call this mehtod on |
| parentId | the specific id of a parent record to use |
|
static |
Creates a new child scoped logger that uses a specific parent id and a specific child scope.
| logger | the logger to call this mehtod on |
| parentId | the specific id of a parent record to use |
| childScope | the scope to use for the children |
|
static |
Creates a new child scoped logger.
| logger | the logger to call this mehtod on |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| listParameter | the list parameter to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger.
| logger | the logger to call this mehtod on |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| parameters | the named parameters object to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger.
| logger | the logger to call this mehtod on |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| parameter | the parameter object to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger.
| logger | the logger to call this mehtod on |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| parameters | the positional parameters object to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger.
| logger | the logger to call this mehtod on |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger.
| logger | the logger to call this mehtod on |
| parentRecord | the record to use a as the parent of all records in the new scope |
| endRecord | a record that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger that uses a specific child scope.
| logger | the logger to call this mehtod on |
| childScope | the scope to use for the children |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| listParameter | the list parameter to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger that uses a specific child scope.
| logger | the logger to call this mehtod on |
| childScope | the scope to use for the children |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| parameters | the named parameters to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger that uses a specific child scope.
| logger | the logger to call this mehtod on |
| childScope | the scope to use for the children |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| parameter | the parameter object to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger that uses a specific child scope.
| logger | the logger to call this mehtod on |
| childScope | the scope to use for the children |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| parameters | the positional parameters to use in the parentMessage |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger that uses a specific child scope.
| logger | the logger to call this mehtod on |
| childScope | the scope to use for the children |
| level | the log level of the parent and end messages |
| parentMessage | the message to use a as the parent of all records in the new scope |
| endMessage | a messgae that will be logged when the child scope ends and the child logger is disposed |
|
static |
Creates a new child scoped logger that uses a specific child scope.
| logger | the logger to call this mehtod on |
| childScope | the scope to use for the children |
| parentRecord | the record to use a as the parent of all records in the new scope |
| endRecord | a record that will be logged when the child scope ends and the child logger is disposed |