IPerformanceLog
Adds the full name of Type T to the log information.
Adds the full name of the source's Type to the log information.
Adds the value object with the propertyName to the log information. DestructureObjects false will T
bool IsPerformanceEnabled()
Returns true if Performance Logging is enabled.
Adds the obj data with the propertyName to the log information of all logs that happen within a using statement.
In this C# example any loggers within the MethodThatLogs() method will have the PushProperty "User".
using (var pushLogger = _logger.LogContextPushProperty("User", user))
{
MethodThatLogs();
}
Log the message as Information.