C# Class TempestShared.ErrorLog

Datei anzeigen Open project: pajlada/TempestNotifier

Public Methods

Method Description
ErrorLog ( ) : System
ErrorLog ( string logPath ) : System
LogError ( Exception exception ) : string

Logs exception information to the assigned log file.

Private Methods

Method Description
GetExceptionStack ( Exception e ) : string

Method Details

ErrorLog() public method

public ErrorLog ( ) : System
return System

ErrorLog() public method

public ErrorLog ( string logPath ) : System
logPath string
return System

LogError() public method

Logs exception information to the assigned log file.
public LogError ( Exception exception ) : string
exception System.Exception Exception to log.
return string