C# 클래스 Monobjc.Logger

Very basic logger that handles four levels of log.

The levels are set through an environment variable MONOBJC_LOG_LEVEL. Output logs are printed in a Terminal console.

The levels are :

LevelAssociated Output DEBUG (MONOBJC_LOG_LEVEL >= debug)Low-level log (class registration, proxy creation, messaging, etc.). Beware that this level will slow down the execution. INFO (MONOBJC_LOG_LEVEL >= info)Output informationnal log (bridge starting, architectre and runtime selection, statistics, etc.). Beware that this level may slow down the execution. WARN (MONOBJC_LOG_LEVEL >= warning)Output warning log. There is no noticeable impact ERROR (MONOBJC_LOG_LEVEL >= error)Output error log. There is no noticeable impact
파일 보기 프로젝트 열기: Monobjc/monobjc

공개 메소드들

메소드 설명
Debug ( String source, String message ) : void

Outputs a DEBUG log.

Error ( String source, String message ) : void

Outputs an ERROR log.

Info ( String source, String message ) : void

Outputs an INFO log.

Warn ( String source, String message ) : void

Outputs a WARNING log.

비공개 메소드들

메소드 설명
IsDebugEnabled ( ) : bool
IsErrorEnabled ( ) : bool
IsInfoEnabled ( ) : bool
IsWarningEnabled ( ) : bool
LogDebugMessage ( String source, String message ) : void
LogErrorMessage ( String source, String message ) : void
LogInfoMessage ( String source, String message ) : void
LogWarningMessage ( String source, String message ) : void

메소드 상세

Debug() 공개 정적인 메소드

Outputs a DEBUG log.
public static Debug ( String source, String message ) : void
source String The source.
message String The message.
리턴 void

Error() 공개 정적인 메소드

Outputs an ERROR log.
public static Error ( String source, String message ) : void
source String The source.
message String The message.
리턴 void

Info() 공개 정적인 메소드

Outputs an INFO log.
public static Info ( String source, String message ) : void
source String The source.
message String The message.
리턴 void

Warn() 공개 정적인 메소드

Outputs a WARNING log.
public static Warn ( String source, String message ) : void
source String The source.
message String The message.
리턴 void