C# Class SagaLib.Logger

Mostrar archivo Open project: Willyham/SagaRO2

Public Properties

Property Type Description
CurrentLogger Logger
LogLevel LogContent
defaultlogger Logger
gmlogger Logger

Public Methods

Method Description
GetDate ( ) : string
GetLogFile ( ) : string
Logger ( string filename ) : System
ShowDebug ( Exception ex, Logger log ) : void
ShowDebug ( string ex, Logger log ) : void
ShowError ( Exception ex ) : void
ShowError ( Exception ex, Logger log ) : void
ShowError ( string ex ) : void
ShowError ( string ex, Logger log ) : void
ShowInfo ( Exception ex, Logger log ) : void
ShowInfo ( string ex ) : void
ShowInfo ( string ex, Logger log ) : void
ShowSQL ( Exception ex, Logger log ) : void
ShowSQL ( String ex, Logger log ) : void
ShowWarning ( Exception ex ) : void
ShowWarning ( Exception ex, Logger log ) : void
ShowWarning ( string ex ) : void
ShowWarning ( string ex, Logger log ) : void
WriteLog ( string p ) : void
WriteLog ( string prefix, string p ) : void

Private Methods

Method Description
FilterSQL ( string input ) : string

Method Details

GetDate() public method

public GetDate ( ) : string
return string

GetLogFile() public method

public GetLogFile ( ) : string
return string

Logger() public method

public Logger ( string filename ) : System
filename string
return System

ShowDebug() public static method

public static ShowDebug ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
return void

ShowDebug() public static method

public static ShowDebug ( string ex, Logger log ) : void
ex string
log Logger
return void

ShowError() public static method

public static ShowError ( Exception ex ) : void
ex System.Exception
return void

ShowError() public static method

public static ShowError ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
return void

ShowError() public static method

public static ShowError ( string ex ) : void
ex string
return void

ShowError() public static method

public static ShowError ( string ex, Logger log ) : void
ex string
log Logger
return void

ShowInfo() public static method

public static ShowInfo ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
return void

ShowInfo() public static method

public static ShowInfo ( string ex ) : void
ex string
return void

ShowInfo() public static method

public static ShowInfo ( string ex, Logger log ) : void
ex string
log Logger
return void

ShowSQL() public static method

public static ShowSQL ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
return void

ShowSQL() public static method

public static ShowSQL ( String ex, Logger log ) : void
ex String
log Logger
return void

ShowWarning() public static method

public static ShowWarning ( Exception ex ) : void
ex System.Exception
return void

ShowWarning() public static method

public static ShowWarning ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
return void

ShowWarning() public static method

public static ShowWarning ( string ex ) : void
ex string
return void

ShowWarning() public static method

public static ShowWarning ( string ex, Logger log ) : void
ex string
log Logger
return void

WriteLog() public method

public WriteLog ( string p ) : void
p string
return void

WriteLog() public method

public WriteLog ( string prefix, string p ) : void
prefix string
p string
return void

Property Details

CurrentLogger public_oe static_oe property

public static Logger CurrentLogger
return Logger

LogLevel public_oe property

public LogContent LogLevel
return LogContent

defaultlogger public_oe static_oe property

public static Logger defaultlogger
return Logger

gmlogger public_oe static_oe property

public static Logger gmlogger
return Logger