Interface ILogger
- Namespace
- Dynamicweb.Logging
- Assembly
- Dynamicweb.Core.dll
Defines operations for logging providers, errors and exceptions.
Implmented by the Logger
- Inherited Members
Methods
Debug(string)
Writes a log message using Debug.
Parameters
message
stringThe message to write to the log.
Debug(string, Exception?)
Writes a log message using Debug. The log message will include information about the given Exception.
Parameters
Error(string)
Writes a log message using Error.
Parameters
message
stringThe message to write to the log.
Error(string, Exception?)
Writes a log message using Error. The log message will include information about the given Exception.
Parameters
Fatal(string)
Writes a log message using Fatal.
Parameters
message
stringThe message to write to the log.
Fatal(string, Exception?)
Writes a log message using Fatal. The log message will include information about the given Exception.
Parameters
Info(string)
Writes a log message using Information.
Parameters
message
stringThe message to write to the log.
Info(string, Exception?)
Writes a log message using Information. The log message will include information about the given Exception.
Parameters
Log(LogLevel, string)
This is the default log method used to write a message to the log.
This method uses the specified Log
Parameters
Log(LogLevel, string, Exception?)
This is the default log method used to write a message to the log.
This method uses the specified Log
Parameters
level
LogLevel message
stringThe message to write to the log.
ex
ExceptionThe Exception to include in the log.
Log(string)
This is the default log method used to write a message to the log. This method uses Information.
Parameters
message
stringThe message to write to the log.
Trace(string)
Writes a log message using Trace.
Parameters
message
stringThe message to write to the log.
Trace(string, Exception?)
Writes a log message using Trace. The log message will include information about the given Exception.
Parameters
Warn(string)
Writes a log message using Warning.
Parameters
message
stringThe message to write to the log.
Warn(string, Exception?)
Writes a log message using Warning. The log message will include information about the given Exception.