Class ConsoleLogger
A console logger, the simplest implementation for logging messages to a console
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Dapplo.Log.Loggers
Assembly:Dapplo.Log.Loggers.dll
Syntax
public class ConsoleLogger : AbstractLogger, ILogger, ILoggerConfiguration
Methods
| Improve this Doc View SourceWrite(LogInfo, String, Object[])
Write a message with parameters to the logger
Declaration
public override void Write(LogInfo logInfo, string messageTemplate, params object[] logParameters)
Parameters
Type | Name | Description |
---|---|---|
LogInfo | logInfo | LogInfo |
System.String | messageTemplate | string with the message template |
System.Object[] | logParameters | object array with the parameters for the template |