Class ConsoleLogger
- Namespace
- Splat
- Assembly
- Splat.dll
A logger which will send messages to the console.
- Inheritance
-
Console
Logger
- Implements
- Extension Methods
Constructors
ConsoleLogger()
Properties
ExceptionMessageFormat
Gets or sets the exception message format. First parameter will be the message, second will be the exception.
Property Value
Level
Gets the level at which the target will emit messages.
Property Value
Methods
Write(Exception, string, LogLevel)
Writes a message to the target.
Parameters
exception
ExceptionThe exception that occured.
message
stringThe message to write.
logLevel
LogLevel The severity level of the log message.
Write(Exception, string, Type, LogLevel)
Writes a message to the target.
Parameters
exception
ExceptionThe exception that occured.
message
stringThe message.
type
TypeThe type.
logLevel
LogLevel The log level.
Write(string, LogLevel)
Writes a message to the target.
Parameters
Write(string, Type, LogLevel)
Writes a message to the target.