|
Joutsen Logging v0.5.0+22-gec3d058
|
A scope implementation that represents a thread. More...
Public Member Functions | |
| ThreadScope () | |
| Creates a new instance for the current thread. More... | |
| ThreadScope (Thread thread) | |
| Creates a new instance fo a specific thread. More... | |
| string | ToString (string format, IFormatProvider formatProvider) |
| Formats the scope into a string. More... | |
| override string | ToString () |
| 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. More... | |
| 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. More... | |
Properties | |
| Thread | Thread [get] |
A scope implementation that represents a thread.
| ThreadScope.ThreadScope | ( | ) |
Creates a new instance for the current thread.
| ThreadScope.ThreadScope | ( | Thread | thread | ) |
Creates a new instance fo a specific thread.
| Map< string, string > ThreadScope.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 |
Implements Scope.
| override string ThreadScope.ToString | ( | ) |
| string ThreadScope.ToString | ( | string | format, |
| IFormatProvider | formatProvider | ||
| ) |
Formats the scope into a string.
| format | the format to use to represent the scope |
| formatProvider | a format provider used for lacation specific representation |
|
get |