|
Joutsen Logging v0.5.0+26-g72240ac
|
Provides additional information to a log record, usually about the context of where the record was created. More...
Public Member Functions | |
| Map< string, string > | ToNamedStrings (string format, IFormatProvider formatProvider) |
| Creates a map of key value pairs which can be used to write the scope in a structured way. | |
Provides additional information to a log record, usually about the context of where the record was created.
| Map< string, string > Joutsen.Logging.Scope.ToNamedStrings | ( | string | format, |
| IFormatProvider | formatProvider | ||
| ) |
Creates a map of key value pairs which can be used to write the scope in a structured way.
| format | the string that defines the output format for the scope |
| formatProvider | provides localization information to format the scopes information |
Implemented in Joutsen.Logging.AssemblyScope, Joutsen.Logging.CombinedScope, Joutsen.Logging.MethodScope, Joutsen.Logging.ParentScope, Joutsen.Logging.ThreadScope, and Joutsen.Logging.TypeScope.