C# Class NasaPicOfDay.ExceptionManager

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

Méthodes publiques

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

Méthode Description
WriteData ( string fullFilePath, string dataToWrite ) : void

Handles the actual writing of the data to the file system

Method Details

WriteException() public static méthode

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.
Résultat void

WriteInformation() public static méthode

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
Résultat void