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

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

Public Methods

Method Description
Commit ( ) : void
Debug ( string message, Exception e = null ) : void
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

Protected Methods

Method Description
ALog ( ) : System
Log ( LogLevel logLevel, string message, Exception e ) : void

Method Details

ALog() protected method

protected ALog ( ) : System
return System

Commit() public abstract method

public abstract Commit ( ) : void
return void

Debug() public method

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

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

Log() protected method

protected Log ( LogLevel logLevel, string message, Exception e ) : void
logLevel LogLevel
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