Skip to content

FileLoggingOutput Methods

The log output which all FileLogger share to log messages to

Dispose

View source
public void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Log(LogLevel, EventId, TState, Exception, Func<TState, Exception, string>, string)

View source
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter, string category)
Logs a message.

Parameters

logLevelLogLevel
The log level.
eventIdEventId
The event identifier.
stateTState
The state.
exceptionException
The exception.
formatterFunc<TState, Exception, string>
The formatter.
categorystring
The category.