ILoggerExtensions Class
Namespace
Statiq.Common
Base Types
  • object
ILoggerExtensions
object

Syntax

public static class ILoggerExtensions

Methods

Name Return Value Summary
Log(ILogger, LogLevel, IDocument, string) void
static
Log(ILogger, LogLevel, StatiqLogState, string) void
static
Log<TState>(ILogger, LogLevel, IDocument, EventId, TState, Exception, Func<TState, Exception, string>) void
static
LogAndWrapException(ILogger, Exception) Exception
Logs an appropriate error message for the exception, unwrapping System.AggregateException and System.Reflection.TargetInvocationException exceptions and ignoring LoggedException.
static
LogCritical(ILogger, IDocument, string) void
static
LogDebug(ILogger, IDocument, string) void
static
LogError(ILogger, IDocument, string) void
static
LogInformation(ILogger, IDocument, string) void
static
LogTrace(ILogger, IDocument, string) void
static
LogWarning(ILogger, IDocument, string) void
static