C# Class Microsoft.DocAsCode.Common.ReportLogListener

Inheritance: ILoggerListener
ファイルを表示 Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Flush ( ) : void
ReportLogListener ( StreamWriter writer, string repoRoot, string root ) : System
ReportLogListener ( string reportPath, string repoRoot, string root ) : System
WriteLine ( ILogItem item ) : void

Private Methods

Method Description
GetSeverity ( LogLevel level ) : MessageSeverity
TransformFile ( string fileFromRoot ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

ReportLogListener() public method

public ReportLogListener ( StreamWriter writer, string repoRoot, string root ) : System
writer System.IO.StreamWriter
repoRoot string
root string
return System

ReportLogListener() public method

public ReportLogListener ( string reportPath, string repoRoot, string root ) : System
reportPath string
repoRoot string
root string
return System

WriteLine() public method

public WriteLine ( ILogItem item ) : void
item ILogItem
return void