C# 클래스 NetMud.DataAccess.Logger

Internal file access for logging
상속: NetMud.DataAccess.FileSystem.FileAccessor
파일 보기 프로젝트 열기: SwiftAusterity/NetMud

공개 메소드들

메소드 설명
GetCurrentLogContent ( string channel ) : string

Gets a current log file's contents

GetCurrentLogNames ( ) : IEnumerable

Gets all the current log file names in Current

RolloverLog ( string channel ) : bool

Archives a log file

WriteToLog ( string content, bool beQuiet = false ) : void

Write to a log

WriteToLog ( string content, string channel, bool beQuiet = false ) : void

Write to a log

비공개 메소드들

메소드 설명
WriteLine ( string content, string channel ) : void

Writes content to a log file

메소드 상세

GetCurrentLogContent() 공개 메소드

Gets a current log file's contents
public GetCurrentLogContent ( string channel ) : string
channel string the log file name
리턴 string

GetCurrentLogNames() 공개 메소드

Gets all the current log file names in Current
public GetCurrentLogNames ( ) : IEnumerable
리턴 IEnumerable

RolloverLog() 공개 메소드

Archives a log file
public RolloverLog ( string channel ) : bool
channel string the log file to archive
리턴 bool

WriteToLog() 공개 메소드

Write to a log
public WriteToLog ( string content, bool beQuiet = false ) : void
content string the content to log
beQuiet bool Announce it in game or not
리턴 void

WriteToLog() 공개 메소드

Write to a log
public WriteToLog ( string content, string channel, bool beQuiet = false ) : void
content string the content to log
channel string which log to append it to
beQuiet bool
리턴 void