C# Class Chaos.Portal.Core.Logging.DirectLogger

Inheritance: ILog
Show file Open project: CHAOS-Community/Portal

Public Methods

Method Description
Commit ( ) : void
Commit ( uint duration ) : void
Debug ( string message, Exception e = null ) : void
DirectLogger ( ILogFactory loggerFactory ) : System
Error ( string message, Exception e = null ) : void
Fatal ( string message, Exception e = null ) : void
Info ( string message, Exception e = null ) : void
Warn ( string message, Exception e = null ) : void
WithLoglevel ( LogLevel logLevel ) : ILog
WithName ( string name ) : ILog
WithSessionGuid ( System.Guid sessionGuid ) : ILog
WithStopwatch ( Stopwatch stopwatch ) : ILog

Private Methods

Method Description
GetLogger ( ) : ILog

Method Details

Commit() public method

public Commit ( ) : void
return void

Commit() public method

public Commit ( uint duration ) : void
duration uint
return void

Debug() public method

public Debug ( string message, Exception e = null ) : void
message string
e System.Exception
return void

DirectLogger() public method

public DirectLogger ( ILogFactory loggerFactory ) : System
loggerFactory ILogFactory
return System

Error() public method

public Error ( string message, Exception e = null ) : void
message string
e System.Exception
return void

Fatal() public method

public Fatal ( string message, Exception e = null ) : void
message string
e System.Exception
return void

Info() public method

public Info ( string message, Exception e = null ) : void
message string
e System.Exception
return void

Warn() public method

public Warn ( string message, Exception e = null ) : void
message string
e System.Exception
return void

WithLoglevel() public method

public WithLoglevel ( LogLevel logLevel ) : ILog
logLevel LogLevel
return ILog

WithName() public method

public WithName ( string name ) : ILog
name string
return ILog

WithSessionGuid() public method

public WithSessionGuid ( System.Guid sessionGuid ) : ILog
sessionGuid System.Guid
return ILog

WithStopwatch() public method

public WithStopwatch ( Stopwatch stopwatch ) : ILog
stopwatch Stopwatch
return ILog