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