• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.Log
    • AbstractLogger
    • ILogger
    • ILoggerConfiguration
    • LoggerMapper
    • LogInfo
    • LogInfoExtensions
    • LogLevels
    • LogSettings
    • LogSource
    • LogSourceExtensions
    • NullLogger
  • Dapplo.Log.LogFile
    • FileLogger
    • ForwardingLogger
    • IFileLoggerConfiguration
  • Dapplo.Log.Loggers
    • ColorConsoleLogger
    • ConsoleLogger
    • DebugLogger
    • StringWriterLogger
    • TraceLogger
  • Dapplo.Log.XUnit
    • XUnitLogger

Class DebugLogger

A debug logger, the simplest implementation for logging debug messages

Inheritance
System.Object
AbstractLogger
DebugLogger
Inherited Members
AbstractLogger.Configure(ILoggerConfiguration)
AbstractLogger.Format(LogInfo, String, Object[])
AbstractLogger.LogLevel
AbstractLogger.UseShortSource
AbstractLogger.DateTimeFormat
AbstractLogger.LogLineFormat
AbstractLogger.IsLogLevelEnabled(LogLevels, LogSource)
AbstractLogger.ReplacedWith(ILogger)
AbstractLogger.WriteLine(LogInfo, String, Object[])
AbstractLogger.WriteLine(LogInfo, Exception, String, Object[])
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 DebugLogger : AbstractLogger, ILogger, ILoggerConfiguration

Methods

| Improve this Doc View Source

Write(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

Overrides
AbstractLogger.Write(LogInfo, String, Object[])
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 Dapplo