C# Class Microsoft.DocAsCode.Common.HtmlLogListener

Inheritance: ILoggerListener
Datei anzeigen Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Escape ( string html, bool encode = false ) : string
Flush ( ) : void
HtmlLogListener ( StreamWriter writer ) : System
HtmlLogListener ( string reportPath ) : System
ReplaceRegex ( string input, Regex pattern, string replacement ) : string
WriteCommonHeader ( ) : void
WriteLine ( ILogItem item ) : void

Private Methods

Method Description
GetSeverity ( LogLevel level ) : MessageSeverity

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Escape() public method

public Escape ( string html, bool encode = false ) : string
html string
encode bool
return string

Flush() public method

public Flush ( ) : void
return void

HtmlLogListener() public method

public HtmlLogListener ( StreamWriter writer ) : System
writer System.IO.StreamWriter
return System

HtmlLogListener() public method

public HtmlLogListener ( string reportPath ) : System
reportPath string
return System

ReplaceRegex() public method

public ReplaceRegex ( string input, Regex pattern, string replacement ) : string
input string
pattern System.Text.RegularExpressions.Regex
replacement string
return string

WriteCommonHeader() public method

public WriteCommonHeader ( ) : void
return void

WriteLine() public method

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