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
Datei anzeigen Open project: scottwis/tiny

Public Methods

Method 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

Method 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 method

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

Error() public static method

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

Error() public static method

public static Error ( string category, string message ) : void
category string
message string
return void

Error() public static method

public static Error ( string category, string message, Exception ex ) : void
category string
message string
ex System.Exception
return void

Log() public static method

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

Warning() public static method

public static Warning ( string message ) : void
message string
return void

Warning() public static method

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

Warning() public static method

public static Warning ( string category, string message ) : void
category string
message string
return void

Warning() public static method

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