C# Class Skytap.Utilities.FileLogger

Inheritance: Logger
显示文件 Open project: skytap/Skytap-TFS-Automation-Pack

Public Methods

Method Description
FileLogger ( ) : System
Flush ( ) : void

Write out the contents of the log string to the file, flushing the contents of the in-memory string.

Protected Methods

Method Description
_LogError ( string message ) : void
_LogImportant ( string message ) : void
_LogInfo ( string message ) : void

Private Methods

Method Description
IncrementLinesAndCheckFlush ( ) : void

Method Details

FileLogger() public method

public FileLogger ( ) : System
return System

Flush() public method

Write out the contents of the log string to the file, flushing the contents of the in-memory string.
public Flush ( ) : void
return void

_LogError() protected method

protected _LogError ( string message ) : void
message string
return void

_LogImportant() protected method

protected _LogImportant ( string message ) : void
message string
return void

_LogInfo() protected method

protected _LogInfo ( string message ) : void
message string
return void