C# 클래스 MTMCL.Logger

파일 보기 프로젝트 열기: cvronmin/metocraft

공개 프로퍼티들

프로퍼티 타입 설명
LogReadOnly bool
debug bool

공개 메소드들

메소드 설명
HelpLog ( string str, LogType type = LogType.Info ) : string
error ( Exception ex ) : void
error ( string message ) : void
info ( string message ) : void
log ( ) : void
log ( Config cfg, LogType type = LogType.Info ) : void
log ( Exception ex, LogType type = LogType.Exception ) : void
log ( LogType type = LogType.Info ) : void
log ( Stream s, LogType type = LogType.Info ) : void
log ( string str, LogType type = LogType.Info ) : void
start ( FileMode mode = FileMode.Create, bool logshow = true ) : void
stop ( bool logclose = true ) : void

비공개 메소드들

메소드 설명
HelpWrite ( string str, LogType type = LogType.Info ) : string
write ( Stream s, LogType type = LogType.Info ) : void
write ( string str, LogType type = LogType.Info ) : void
writeInfo ( LogType type = LogType.Info ) : string

메소드 상세

HelpLog() 공개 정적인 메소드

public static HelpLog ( string str, LogType type = LogType.Info ) : string
str string
type LogType
리턴 string

error() 공개 정적인 메소드

public static error ( Exception ex ) : void
ex System.Exception
리턴 void

error() 공개 정적인 메소드

public static error ( string message ) : void
message string
리턴 void

info() 공개 정적인 메소드

public static info ( string message ) : void
message string
리턴 void

log() 공개 정적인 메소드

public static log ( ) : void
리턴 void

log() 공개 정적인 메소드

public static log ( Config cfg, LogType type = LogType.Info ) : void
cfg Config
type LogType
리턴 void

log() 공개 정적인 메소드

public static log ( Exception ex, LogType type = LogType.Exception ) : void
ex System.Exception
type LogType
리턴 void

log() 공개 정적인 메소드

public static log ( LogType type = LogType.Info ) : void
type LogType
리턴 void

log() 공개 정적인 메소드

public static log ( Stream s, LogType type = LogType.Info ) : void
s Stream
type LogType
리턴 void

log() 공개 정적인 메소드

public static log ( string str, LogType type = LogType.Info ) : void
str string
type LogType
리턴 void

start() 공개 정적인 메소드

public static start ( FileMode mode = FileMode.Create, bool logshow = true ) : void
mode FileMode
logshow bool
리턴 void

stop() 공개 정적인 메소드

public static stop ( bool logclose = true ) : void
logclose bool
리턴 void

프로퍼티 상세

LogReadOnly 공개적으로 정적으로 프로퍼티

public static bool LogReadOnly
리턴 bool

debug 공개적으로 정적으로 프로퍼티

public static bool debug
리턴 bool