DokanNet.Logging.ConsoleLogger Class Reference

Log to the console. More...

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

Public Member Functions

 ConsoleLogger (string loggerName="", DateTimeFormatInfo dateTimeFormatInfo=null)
 Initializes a new instance of the ConsoleLogger 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
 
void Dispose ()
 Dispose the object from the native resources. More...
 

Public Attributes

bool DebugEnabled => true
 

Protected Member Functions

virtual void Dispose (bool disposing)
 Dispose the object from the native resources. More...
 

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

Log to the console.

Constructor & Destructor Documentation

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

Initializes a new instance of the ConsoleLogger class.

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

Member Function Documentation

virtual void DokanNet.Logging.ConsoleLogger.Dispose ( bool  disposing)
inlineprotectedvirtual

Dispose the object from the native resources.

Parameters
disposingWhether it was call by Dispose()
void DokanNet.Logging.ConsoleLogger.Dispose ( )
inline

Dispose the object from the native resources.


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