LogSource Methods |
The LogSource type exposes the following members.
Name | Description | |
---|---|---|
ApplyTransactionRequirements |
Evaluates whether a transaction needs to be open for a specified OpenActivityOptions and updates
its TransactionRequirement property.
This method must be invoked before calling OpenActivity<T>(T, OpenActivityOptions).
It is not automatically called.
| |
ForCurrentType |
Gets a new LogSource keeping all the configuration of the current instance, but for the calling type.
| |
ForSource |
Gets a new LogSource keeping all the configuration of the current instance, but for a source name.
| |
ForType |
Gets a new LogSource keeping all the configuration of the current instance, but for a different type.
| |
Get() |
Gets a LogSource for the calling type.
| |
Get(String) |
Gets a log source associated with a specific source name.
| |
Get(String, String) |
Gets a log source for a specified role and source name.
| |
Get(Type, String) |
Gets a log source for a specified role and Type.
| |
IsEnabled | ||
WithLevel |
Exposes methods that allow to write messages and open activities with a specified LogLevel.
| |
WithLevels |
Returns a new LogSource based on the current instance, but overrides the default logging levels.
| |
WriteExecutionPoint |
Emits a log record with the source file and line of the caller.
|