C# 클래스 Microsoft.Protocols.TestManager.KerberosPlugin.Logger

파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AppendLog ( string msg ) : void

메소드 상세

AddLineToLog() 공개 메소드

public AddLineToLog ( LogLevel level ) : void
level LogLevel
리턴 void

AddLog() 공개 메소드

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
리턴 void

Logger() 공개 메소드

public Logger ( string fileName ) : System
fileName string
리턴 System

RunCmd() 공개 메소드

public RunCmd ( string command ) : Process
command string
리턴 System.Diagnostics.Process

RunCmdAndGetOutput() 공개 메소드

public RunCmdAndGetOutput ( string command ) : string
command string
리턴 string