Table of Contents

Class LogEventLogger

Namespace
Dynamicweb.Logging.LogEvents
Assembly
Dynamicweb.Core.dll

Represents LogEvent logger

public class LogEventLogger : LoggerBase, ILogger, IDisposable
Inheritance
LogEventLogger
Implements
Inherited Members

Methods

Debug(string, string?, Exception?)

Logs message with "debug" log level

public override void Debug(string message, string? systemInfo, Exception? ex)

Parameters

message string

Message as string

systemInfo string
ex Exception

Exception

Error(string, string?, Exception?)

Logs message with "error" log level

public override void Error(string message, string? systemInfo, Exception? ex)

Parameters

message string

Message as string

systemInfo string
ex Exception

Exception

Fatal(string, string?, Exception?)

Logs message with "fatal" log level

public override void Fatal(string message, string? systemInfo, Exception? ex)

Parameters

message string

Message as string

systemInfo string
ex Exception

Exception

Info(string, string?, Exception?)

Logs message with "info" log level

public override void Info(string message, string? systemInfo, Exception? ex)

Parameters

message string

Message as string

systemInfo string
ex Exception

Exception

Log(LogLevel, string, string?, Exception?)

Logs message with specific log level

public override void Log(LogLevel level, string message, string? systemInfo, Exception? ex)

Parameters

level LogLevel

LogLevel

message string

Message as string

systemInfo string

SystemInfo as string

ex Exception

Exception

Trace(string, string?, Exception?)

Logs message with "trace" log level

public override void Trace(string message, string? systemInfo, Exception? ex)

Parameters

message string

Message as string

systemInfo string
ex Exception

Exception

Warn(string, string?, Exception?)

Logs message with "warning" log level

public override void Warn(string message, string? systemInfo, Exception? ex)

Parameters

message string

Message as string

systemInfo string
ex Exception

Exception

To top