C# Class SenseNet.Benchmarking.Logger

显示文件 Open project: maxpavlov/FlexNet

Public Methods

Method Description
FlushLogs ( ) : void
InitLogs ( ) : void
StopLogs ( ) : void
WriteErrorToConsole ( string error ) : void
WriteErrorToLog ( string path, Uri uri, WebException webex ) : void
WriteErrorToLog ( string path, Uri uri, string error ) : void

Private Methods

Method Description
FlushDetailedLog ( ) : void
FlushSummaryLog ( ) : void
FormatTimeStamp ( System.TimeSpan t ) : string
GetLogDate ( ) : string
GetResponseLogData ( string>.IDictionary logData ) : string
LogTimer_Elapsed ( object sender, System e ) : void
WriteDetail ( RequestState requestState, bool error ) : void
WriteRequest ( string url ) : void

Method Details

FlushLogs() public static method

public static FlushLogs ( ) : void
return void

InitLogs() public static method

public static InitLogs ( ) : void
return void

StopLogs() public static method

public static StopLogs ( ) : void
return void

WriteErrorToConsole() public static method

public static WriteErrorToConsole ( string error ) : void
error string
return void

WriteErrorToLog() public static method

public static WriteErrorToLog ( string path, Uri uri, WebException webex ) : void
path string
uri System.Uri
webex System.Net.WebException
return void

WriteErrorToLog() public static method

public static WriteErrorToLog ( string path, Uri uri, string error ) : void
path string
uri System.Uri
error string
return void