LogExtensions
Defines extension methods for ILog.
This method pushes all public properties from given object to ILog instance logging context.
Write an informational log message and transforms value into a dictionary that's supplied to the logging framework.
public static void LogObjectAsDictionary(this ILog logger, string messageTemplate, object value, Func<PropertyInfo, bool> filter)
Write an informational log message and transforms the optionally filtered value into a dictionary that's supplied to the logging framework.
public static void LogUserContextInformation(this ILog logger, string messageTemplate, ICredentials credentials)
It logs jwt token claims on information logging level according to provided message template.