C# Class Updater.UpdateLogger

Mostra file Open project: BillCacy/NPOD Class Usage Examples

Public Methods

Method Description
WriteError ( Exception ex ) : void

Writes the exception information to the file system.

WriteError ( string filePath, Exception ex ) : void

Writes the exception information to the specified location in the file system.

WriteInformation ( string filePath, string message ) : void

Writes the information to the specified location in the file system.

Method Details

WriteError() public static method

Writes the exception information to the file system.
public static WriteError ( Exception ex ) : void
ex System.Exception Exception to write to the file system
return void

WriteError() public static method

Writes the exception information to the specified location in the file system.
public static WriteError ( string filePath, Exception ex ) : void
filePath string Path on the system to write the file to
ex System.Exception Exception to write to the file
return void

WriteInformation() public static method

Writes the information to the specified location in the file system.
public static WriteInformation ( string filePath, string message ) : void
filePath string Path on the system to write the file to
message string Information to write to the file
return void