C# Class SharpLogger.Loggers.RegularLogger

Inheritance: IInternalLogger
显示文件 Open project: repinvv/SharpLogger

Public Methods

Method Description
Always ( string message ) : void
Debug ( string message, int id ) : void
Detailed ( string message, int id ) : void
Error ( string message, Exception ex = null ) : void
Event ( string message, int id ) : void
Fatal ( string message, Exception ex = null ) : void
Info ( string message, int id ) : void
RegularLogger ( string category, Sender sender, int level ) : System
SetLevel ( int level ) : void
SetSender ( Sender sender ) : void
Warning ( string message, Exception ex ) : void
Warning ( string message, int id, Exception ex = null ) : void
this ( int level ) : bool

Private Methods

Method Description
NullSend ( LogItem message ) : void

Method Details

Always() public method

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

Debug() public method

public Debug ( string message, int id ) : void
message string
id int
return void

Detailed() public method

public Detailed ( string message, int id ) : void
message string
id int
return void

Error() public method

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

Event() public method

public Event ( string message, int id ) : void
message string
id int
return void

Fatal() public method

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

Info() public method

public Info ( string message, int id ) : void
message string
id int
return void

RegularLogger() public method

public RegularLogger ( string category, Sender sender, int level ) : System
category string
sender Sender
level int
return System

SetLevel() public method

public SetLevel ( int level ) : void
level int
return void

SetSender() public method

public SetSender ( Sender sender ) : void
sender Sender
return void

Warning() public method

public Warning ( string message, Exception ex ) : void
message string
ex System.Exception
return void

Warning() public method

public Warning ( string message, int id, Exception ex = null ) : void
message string
id int
ex System.Exception
return void

this() public method

public this ( int level ) : bool
level int
return bool