Interface ILogger
- Namespace
- Splat
- Assembly
- Splat.dll
Represents a log target where messages can be written to.
public interface ILogger
- Extension Methods
Properties
Level
Gets the level at which the target will emit messages.
LogLevel Level { get; }
Property Value
Methods
Write(Exception, string, LogLevel)
Writes a message to the target.
void Write(Exception exception, string message, LogLevel logLevel)
Parameters
exception
ExceptionThe exception that occured.
message
stringThe message to write.
logLevel
LogLevelThe severity level of the log message.
Write(Exception, string, Type, LogLevel)
Writes a messge to the target.
void Write(Exception exception, string message, Type type, LogLevel logLevel)
Parameters
exception
ExceptionThe exception that occured.
message
stringThe message.
type
TypeThe type.
logLevel
LogLevelThe log level.
Write(string, LogLevel)
Writes a message to the target.
void Write(string message, LogLevel logLevel)
Parameters
Write(string, Type, LogLevel)
Writes a messge to the target.
void Write(string message, Type type, LogLevel logLevel)