C# Class NasaPicOfDay.ExceptionManager

Static class that writes Exceptions to the user's current Local Application Data folder under a folder called 'NPOD'
Mostra file Open project: BillCacy/NPOD Class Usage Examples

Public Methods

Method Description
WriteException ( Exception ex ) : void

Write an exceptiong to the local app data folder for the current user

WriteInformation ( string message ) : void

Write a message to the local app data folder for the current user

Private Methods

Method Description
WriteData ( string fullFilePath, string dataToWrite ) : void

Handles the actual writing of the data to the file system

Method Details

WriteException() public static method

Write an exceptiong to the local app data folder for the current user
public static WriteException ( Exception ex ) : void
ex System.Exception Exception object containing information about the error.
return void

WriteInformation() public static method

Write a message to the local app data folder for the current user
public static WriteInformation ( string message ) : void
message string The message to write to the Debug.log file
return void