C# Class IntelShared.Common.ErrorLog

Show file Open project: 01org/NMPRK

Public Properties

Property Type Description
EnableTracing bool

Public Methods

Method Description
LogException ( Exception ex ) : void
TraceEntry ( string txt = "" ) : void
TraceExit ( string txt = "" ) : void
WriteLine ( string line ) : void

Private Methods

Method Description
ErrorLog ( ) : System
GetCurrentMethod ( int numFrames ) : string
GetLineFormatted ( string line, string method = "" ) : string

Method Details

LogException() public static method

public static LogException ( Exception ex ) : void
ex System.Exception
return void

TraceEntry() public static method

public static TraceEntry ( string txt = "" ) : void
txt string
return void

TraceExit() public static method

public static TraceExit ( string txt = "" ) : void
txt string
return void

WriteLine() public static method

public static WriteLine ( string line ) : void
line string
return void

Property Details

EnableTracing public static property

public static bool EnableTracing
return bool