C# Class SagaLib.Logger

Afficher le fichier Open project: Willyham/SagaRO2

Méthodes publiques

Свойство Type Description
CurrentLogger Logger
LogLevel LogContent
defaultlogger Logger
gmlogger Logger

Méthodes publiques

Méthode 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

Méthode Description
FilterSQL ( string input ) : string

Method Details

GetDate() public méthode

public GetDate ( ) : string
Résultat string

GetLogFile() public méthode

public GetLogFile ( ) : string
Résultat string

Logger() public méthode

public Logger ( string filename ) : System
filename string
Résultat System

ShowDebug() public static méthode

public static ShowDebug ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
Résultat void

ShowDebug() public static méthode

public static ShowDebug ( string ex, Logger log ) : void
ex string
log Logger
Résultat void

ShowError() public static méthode

public static ShowError ( Exception ex ) : void
ex System.Exception
Résultat void

ShowError() public static méthode

public static ShowError ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
Résultat void

ShowError() public static méthode

public static ShowError ( string ex ) : void
ex string
Résultat void

ShowError() public static méthode

public static ShowError ( string ex, Logger log ) : void
ex string
log Logger
Résultat void

ShowInfo() public static méthode

public static ShowInfo ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
Résultat void

ShowInfo() public static méthode

public static ShowInfo ( string ex ) : void
ex string
Résultat void

ShowInfo() public static méthode

public static ShowInfo ( string ex, Logger log ) : void
ex string
log Logger
Résultat void

ShowSQL() public static méthode

public static ShowSQL ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
Résultat void

ShowSQL() public static méthode

public static ShowSQL ( String ex, Logger log ) : void
ex String
log Logger
Résultat void

ShowWarning() public static méthode

public static ShowWarning ( Exception ex ) : void
ex System.Exception
Résultat void

ShowWarning() public static méthode

public static ShowWarning ( Exception ex, Logger log ) : void
ex System.Exception
log Logger
Résultat void

ShowWarning() public static méthode

public static ShowWarning ( string ex ) : void
ex string
Résultat void

ShowWarning() public static méthode

public static ShowWarning ( string ex, Logger log ) : void
ex string
log Logger
Résultat void

WriteLog() public méthode

public WriteLog ( string p ) : void
p string
Résultat void

WriteLog() public méthode

public WriteLog ( string prefix, string p ) : void
prefix string
p string
Résultat void

Property Details

CurrentLogger public_oe static_oe property

public static Logger CurrentLogger
Résultat Logger

LogLevel public_oe property

public LogContent LogLevel
Résultat LogContent

defaultlogger public_oe static_oe property

public static Logger defaultlogger
Résultat Logger

gmlogger public_oe static_oe property

public static Logger gmlogger
Résultat Logger