C# Class Microsoft.DocAsCode.Common.HtmlLogListener

Inheritance: ILoggerListener
Afficher le fichier Open project: dotnet/docfx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetSeverity ( LogLevel level ) : MessageSeverity

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Escape() public méthode

public Escape ( string html, bool encode = false ) : string
html string
encode bool
Résultat string

Flush() public méthode

public Flush ( ) : void
Résultat void

HtmlLogListener() public méthode

public HtmlLogListener ( StreamWriter writer ) : System
writer System.IO.StreamWriter
Résultat System

HtmlLogListener() public méthode

public HtmlLogListener ( string reportPath ) : System
reportPath string
Résultat System

ReplaceRegex() public méthode

public ReplaceRegex ( string input, Regex pattern, string replacement ) : string
input string
pattern System.Text.RegularExpressions.Regex
replacement string
Résultat string

WriteCommonHeader() public méthode

public WriteCommonHeader ( ) : void
Résultat void

WriteLine() public méthode

public WriteLine ( ILogItem item ) : void
item ILogItem
Résultat void