C# Class Softeq.XToolkit.Common.Logger.ConsoleLogger

Inheritance: ILogger
ファイルを表示 Open project: Softeq/XToolkit.WhiteLabel

Public Methods

Method Description
ConsoleLogger ( string category ) : System
Debug ( string message ) : void
Error ( Exception ex ) : void
Error ( string message ) : void
Info ( string message ) : void
Warn ( Exception ex ) : void
Warn ( string message ) : void

Protected Methods

Method Description
WriteMessage ( Exception ex ) : void
WriteMessage ( string message ) : void

Method Details

ConsoleLogger() public method

public ConsoleLogger ( string category ) : System
category string
return System

Debug() public method

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

Error() public method

public Error ( Exception ex ) : void
ex Exception
return void

Error() public method

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

Info() public method

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

Warn() public method

public Warn ( Exception ex ) : void
ex Exception
return void

Warn() public method

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

WriteMessage() protected method

protected WriteMessage ( Exception ex ) : void
ex Exception
return void

WriteMessage() protected method

protected WriteMessage ( string message ) : void
message string
return void