C# OJAI Client API
MapRDB.Driver.Logger Class Reference
Inheritance diagram for MapRDB.Driver.Logger:

Public Member Functions

 Logger (ILogger logger, TextWriter textWriter)
 
void Debug (string message)
 Logs a message with severity Debug. More...
 
void Debug (string format, params object[] formatArgs)
 Logs a message with severity Debug. More...
 
void Error (string message)
 Logs a message with severity Error. More...
 
void Error (string format, params object[] formatArgs)
 Logs a message with severity Error. More...
 
void Error (Exception exception, string message)
 Logs a message with severity Error. More...
 
ILogger ForType< T > ()
 Returns a logger associated with the specified type. More...
 
void Info (string message)
 Logs a message with severity Info. More...
 
void Info (string format, params object[] formatArgs)
 Logs a message with severity Info. More...
 
void Warning (string message)
 Logs a message with severity Warning. More...
 
void Warning (string format, params object[] formatArgs)
 Logs a message with severity Warning. More...
 
void Warning (Exception exception, string message)
 Logs a message with severity Warning. More...
 

Private Attributes

ILogger _fileLogger
 
TextWriter _textWriter
 

Member Function Documentation

◆ Debug() [1/2]

void MapRDB.Driver.Logger.Debug ( string  message)

Logs a message with severity Debug.

◆ Debug() [2/2]

void MapRDB.Driver.Logger.Debug ( string  format,
params object []  formatArgs 
)

Logs a message with severity Debug.

◆ Error() [1/3]

void MapRDB.Driver.Logger.Error ( string  message)

Logs a message with severity Error.

◆ Error() [2/3]

void MapRDB.Driver.Logger.Error ( string  format,
params object []  formatArgs 
)

Logs a message with severity Error.

◆ Error() [3/3]

void MapRDB.Driver.Logger.Error ( Exception  exception,
string  message 
)

Logs a message with severity Error.

◆ ForType< T >()

ILogger MapRDB.Driver.Logger.ForType< T > ( )

Returns a logger associated with the specified type.

◆ Info() [1/2]

void MapRDB.Driver.Logger.Info ( string  message)

Logs a message with severity Info.

◆ Info() [2/2]

void MapRDB.Driver.Logger.Info ( string  format,
params object []  formatArgs 
)

Logs a message with severity Info.

◆ Warning() [1/3]

void MapRDB.Driver.Logger.Warning ( string  message)

Logs a message with severity Warning.

◆ Warning() [2/3]

void MapRDB.Driver.Logger.Warning ( string  format,
params object []  formatArgs 
)

Logs a message with severity Warning.

◆ Warning() [3/3]

void MapRDB.Driver.Logger.Warning ( Exception  exception,
string  message 
)

Logs a message with severity Warning.