C# Class BclExtras.Logger

Responsible for reporting unexpected errors for the developers to debug. Static class to make error reporting simple so I won't shun using it
Afficher le fichier Open project: scottwis/tiny

Méthodes publiques

Méthode Description
Error ( string message ) : void
Error ( string message, Exception ex ) : void
Error ( string category, string message ) : void
Error ( string category, string message, Exception ex ) : void
Log ( LogItemType type, string category, string message, Exception ex ) : void
Warning ( string message ) : void
Warning ( string message, Exception ex ) : void
Warning ( string category, string message ) : void
Warning ( string category, string message, Exception ex ) : void

Private Methods

Méthode Description
Debug ( string message ) : void
Debug ( string message, Exception ex ) : void
Debug ( string category, string message ) : void
Debug ( string category, string message, Exception ex ) : void
Log ( LogItem info, Exception ex ) : void
LogCore ( LogItemType type, string category, string message, Exception ex ) : void
OnLogEventCaptured ( LogItemEventArgs info ) : void
Trace ( string message ) : void
Trace ( string message, Exception ex ) : void
Trace ( string category, string message ) : void
Trace ( string category, string message, Exception ex ) : void

Method Details

Error() public static méthode

public static Error ( string message ) : void
message string
Résultat void

Error() public static méthode

public static Error ( string message, Exception ex ) : void
message string
ex System.Exception
Résultat void

Error() public static méthode

public static Error ( string category, string message ) : void
category string
message string
Résultat void

Error() public static méthode

public static Error ( string category, string message, Exception ex ) : void
category string
message string
ex System.Exception
Résultat void

Log() public static méthode

public static Log ( LogItemType type, string category, string message, Exception ex ) : void
type LogItemType
category string
message string
ex System.Exception
Résultat void

Warning() public static méthode

public static Warning ( string message ) : void
message string
Résultat void

Warning() public static méthode

public static Warning ( string message, Exception ex ) : void
message string
ex System.Exception
Résultat void

Warning() public static méthode

public static Warning ( string category, string message ) : void
category string
message string
Résultat void

Warning() public static méthode

public static Warning ( string category, string message, Exception ex ) : void
category string
message string
ex System.Exception
Résultat void