IContextLocalLogger Methods |
The IContextLocalLogger type exposes the following members.
Name | Description | |
---|---|---|
GetRecordBuilder |
Gets a record builder.
| |
IsEnabled |
Determines whether logging is enabled for a given LogLevel.
| |
OnInternalException |
Method invoked when an exception is thrown in logging code.
(Inherited from ILoggerExceptionHandler.) | |
OnInvalidUserCode |
Method invoked when the user code calling Logger or LogActivity is invalid, e.g. when the formatting string
is incorrect or does not match the arguments.
(Inherited from ILoggerExceptionHandler.) | |
OpenActivity |
Opens a new context for a custom activity.
| |
ResumeActivity |
Resumes an asynchronous activity suspended by the SuspendActivity(ILoggingContext, CallerInfo) method.
| |
SetWaitDependency |
Sets the wait dependency for a given context, i.e. give information about what the given context is waiting (or awaiting) for.
| |
SuspendActivity |
Suspends an asynchronous activity, which can then be resumed by the ResumeActivity(ILoggingContext, CallerInfo) method.
|