C# 클래스 SharpAdbClient.Log

파일 보기 프로젝트 열기: ArduPilot/MissionPlanner

공개 메소드들

메소드 설명
Debug ( string tag, string format ) : void

Outputs a Debug level message.

Error ( string tag, Exception exception ) : void

Outputs a Error level message.

Error ( string tag, string format ) : void

Outputs a Error level message.

GetLogFormatString ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : string

Formats a log message.

Info ( string tag, string format ) : void

Outputs a Info level message.

LogAndDisplay ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : void

Outputs a log message and attempts to display it in a dialog.

Verbose ( string tag, string format ) : void

Outputs a Verbose level message.

Warn ( string tag, Exception exception ) : void

Outputs a Warn level message.

Warn ( string tag, string format ) : void

Outputs a Warn level message.

Write ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : void

Prints a log message.

비공개 메소드들

메소드 설명
Log ( ) : System

Initializes static members of the Log class.

WriteLine ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : void

prints to stdout; could write to a log window

메소드 상세

Debug() 공개 정적인 메소드

Outputs a Debug level message.
public static Debug ( string tag, string format ) : void
tag string The tag associated with the message.
format string The message to output format string.
리턴 void

Error() 공개 정적인 메소드

Outputs a Error level message.
public static Error ( string tag, Exception exception ) : void
tag string The tag associated with the message.
exception System.Exception The exception to warn
리턴 void

Error() 공개 정적인 메소드

Outputs a Error level message.
public static Error ( string tag, string format ) : void
tag string The tag associated with the message.
format string The message to output format string.
리턴 void

GetLogFormatString() 공개 정적인 메소드

Formats a log message.
public static GetLogFormatString ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : string
logLevel SharpAdbClient.LogLevel
tag string
message string
리턴 string

Info() 공개 정적인 메소드

Outputs a Info level message.
public static Info ( string tag, string format ) : void
tag string The tag associated with the message.
format string The message to output format string.
리턴 void

LogAndDisplay() 공개 정적인 메소드

Outputs a log message and attempts to display it in a dialog.
public static LogAndDisplay ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : void
logLevel SharpAdbClient.LogLevel The log level
tag string The tag associated with the message.
message string The message to output.
리턴 void

Verbose() 공개 정적인 메소드

Outputs a Verbose level message.
public static Verbose ( string tag, string format ) : void
tag string The tag associated with the message.
format string The message to output format string.
리턴 void

Warn() 공개 정적인 메소드

Outputs a Warn level message.
public static Warn ( string tag, Exception exception ) : void
tag string The tag associated with the message.
exception System.Exception The exception to warn
리턴 void

Warn() 공개 정적인 메소드

Outputs a Warn level message.
public static Warn ( string tag, string format ) : void
tag string The tag associated with the message.
format string The message to output format string.
리턴 void

Write() 공개 정적인 메소드

Prints a log message.
public static Write ( SharpAdbClient.LogLevel logLevel, string tag, string message ) : void
logLevel SharpAdbClient.LogLevel
tag string
message string
리턴 void