C# Class Microsoft.Protocols.TestManager.KerberosPlugin.Logger

Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

Méthode Description
AddLineToLog ( LogLevel level ) : void
AddLog ( string msg, LogLevel level, bool startNewLine = true, LogStyle style = LogStyle.Default ) : void

Write a log message.

Logger ( string fileName ) : System
RunCmd ( string command ) : Process
RunCmdAndGetOutput ( string command ) : string

Private Methods

Méthode Description
AppendLog ( string msg ) : void

Method Details

AddLineToLog() public méthode

public AddLineToLog ( LogLevel level ) : void
level LogLevel
Résultat void

AddLog() public méthode

Write a log message.
public AddLog ( string msg, LogLevel level, bool startNewLine = true, LogStyle style = LogStyle.Default ) : void
msg string Log message.
level LogLevel Log level.
startNewLine bool Start a new line before this message when to UI. True by default.
style LogStyle The style of the message
Résultat void

Logger() public méthode

public Logger ( string fileName ) : System
fileName string
Résultat System

RunCmd() public méthode

public RunCmd ( string command ) : Process
command string
Résultat System.Diagnostics.Process

RunCmdAndGetOutput() public méthode

public RunCmdAndGetOutput ( string command ) : string
command string
Résultat string