C# Class Utility.Logging.LoggerBase

Inheritance: ILogger, IDisposable
Mostra file Open project: ChrisMH/Utility.Logging

Public Methods

Method Description
Debug ( Exception exception, string message ) : void
Debug ( string message ) : void
Dispose ( ) : void
Error ( Exception exception, string message ) : void
Error ( string message ) : void
Fatal ( Exception exception, string message ) : void
Fatal ( string message ) : void
GetLogger ( Type type ) : ILogger
GetLogger ( string name ) : ILogger
Info ( Exception exception, string message ) : void
Info ( string message ) : void
Trace ( Exception exception, string message ) : void
Trace ( string message ) : void
Warn ( Exception exception, string message ) : void
Warn ( string message ) : void

Protected Methods

Method Description
LoggerBase ( string name, ILoggerFactory factory ) : System

Private Methods

Method Description
GetCurrentInstanceLogger ( ) : ILogger

Method Details

Debug() public abstract method

public abstract Debug ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Debug() public abstract method

public abstract Debug ( string message ) : void
message string
return void

Dispose() public method

public Dispose ( ) : void
return void

Error() public abstract method

public abstract Error ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Error() public abstract method

public abstract Error ( string message ) : void
message string
return void

Fatal() public abstract method

public abstract Fatal ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Fatal() public abstract method

public abstract Fatal ( string message ) : void
message string
return void

GetLogger() public method

public GetLogger ( Type type ) : ILogger
type System.Type
return ILogger

GetLogger() public method

public GetLogger ( string name ) : ILogger
name string
return ILogger

Info() public abstract method

public abstract Info ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Info() public abstract method

public abstract Info ( string message ) : void
message string
return void

LoggerBase() protected method

protected LoggerBase ( string name, ILoggerFactory factory ) : System
name string
factory ILoggerFactory
return System

Trace() public abstract method

public abstract Trace ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Trace() public abstract method

public abstract Trace ( string message ) : void
message string
return void

Warn() public abstract method

public abstract Warn ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Warn() public abstract method

public abstract Warn ( string message ) : void
message string
return void