DokanNet.Logging.DebugViewLogger Class Reference

Write log using OutputDebugString More...

Inheritance diagram for DokanNet.Logging.DebugViewLogger:
DokanNet.Logging.ILogger

Public Member Functions

 DebugViewLogger (string loggerName="", DateTimeFormatInfo dateTimeFormatInfo=null)
 Initializes a new instance of the DebugViewLogger class. More...
 
void Debug (string message, params object[] args)
 Log a debug message
 
void Info (string message, params object[] args)
 Log a info message
 
void Warn (string message, params object[] args)
 Log a warning message
 
void Error (string message, params object[] args)
 Log a error message
 
void Fatal (string message, params object[] args)
 Log a fatal error message
 

Public Attributes

bool DebugEnabled => true
 

Additional Inherited Members

- Properties inherited from DokanNet.Logging.ILogger
bool DebugEnabled [get]
 Gets a value indicating whether the logger wishes to receive debug messages. More...
 

Detailed Description

Write log using OutputDebugString

To see the output in visual studio Project + Properties, Debug tab, check "Enable unmanaged code debugging".

Constructor & Destructor Documentation

DokanNet.Logging.DebugViewLogger.DebugViewLogger ( string  loggerName = "",
DateTimeFormatInfo  dateTimeFormatInfo = null 
)
inline

Initializes a new instance of the DebugViewLogger class.

Parameters
loggerNameOptional name to be added to each log line.
dateTimeFormatInfoAn object that supplies format information for DateTime.

The documentation for this class was generated from the following file:
  • DebugViewLogger.cs