C# Class CqlSharp.Logging.Logger

Represents a logger for a single logical flow through the library
Datei anzeigen Open project: reuzel/CqlSharp

Public Methods

Method Description
LogCritical ( string format ) : void
LogError ( string format ) : void
LogInfo ( string format ) : void
LogQuery ( string format ) : void
LogVerbose ( string format ) : void
LogWarning ( string format ) : void
Logger ( ILogger logger, LogLevel logLevel ) : System

Initializes a new instance of the Logger class.

ThreadBinding ( ) : IDisposable

Binds this instance to the current thread, such that it becomes available via Logger.Current

Method Details

LogCritical() public method

public LogCritical ( string format ) : void
format string
return void

LogError() public method

public LogError ( string format ) : void
format string
return void

LogInfo() public method

public LogInfo ( string format ) : void
format string
return void

LogQuery() public method

public LogQuery ( string format ) : void
format string
return void

LogVerbose() public method

public LogVerbose ( string format ) : void
format string
return void

LogWarning() public method

public LogWarning ( string format ) : void
format string
return void

Logger() public method

Initializes a new instance of the Logger class.
public Logger ( ILogger logger, LogLevel logLevel ) : System
logger ILogger The logger.
logLevel LogLevel Minimum level to use for logging
return System

ThreadBinding() public method

Binds this instance to the current thread, such that it becomes available via Logger.Current
public ThreadBinding ( ) : IDisposable
return IDisposable