C# 클래스 Tp.Integration.Plugin.Common.Activity.PluginRollingFileAppender

상속: log4net.Appender.FileAppender
파일 보기 프로젝트 열기: TargetProcess/Target-Process-Plugins 1 사용 예제들

공개 메소드들

메소드 설명
ActivateOptions ( ) : void
PluginRollingFileAppender ( ) : System
PluginRollingFileAppender ( PluginRollingFileAppender baseAppender, IActivityLogPathProvider path, Locker locker, string accountName, string profileName ) : System

보호된 메소드들

메소드 설명
AdjustFileBeforeAppend ( System.DateTime timeStamp ) : void
Append ( log4net.Core.LoggingEvent loggingEvent ) : void
DeleteFile ( string fileName ) : void
ExistingInit ( ) : void
FileExists ( string path ) : bool
GetNextOutputFileName ( string fileName ) : string
NextCheckDate ( System.DateTime currentDateTime, RollPoint rollPoint ) : System.DateTime
OnClose ( ) : void
OpenFile ( string fileName, bool append ) : void
RollFile ( string fromFile, string toFile ) : void
RollOverRenameFiles ( string baseFileName, System.DateTime timeStamp ) : void
RollOverSize ( System.DateTime timeStamp ) : void
RollOverTime ( bool fileIsOpen ) : void
SetQWForFiles ( TextWriter writer ) : void

비공개 메소드들

메소드 설명
ComputeCheckPeriod ( string datePattern ) : RollPoint
DetermineCurSizeRollBackups ( ) : void
GetExistingFiles ( string baseFilePath ) : IEnumerable
GetFileName ( string accountName, string profileName, string fileName, IActivityLogPathProvider path ) : string
Initialize ( PluginRollingFileAppender baseAppender, IActivityLogPathProvider path ) : void
InitializeFromOneFile ( string baseFile, string curFileName ) : void
InitializeRollBackups ( string baseFile, IEnumerable arrayFiles ) : void
RollOverIfDateBoundaryCrossing ( ) : void

메소드 상세

ActivateOptions() 공개 메소드

public ActivateOptions ( ) : void
리턴 void

AdjustFileBeforeAppend() 보호된 메소드

protected AdjustFileBeforeAppend ( System.DateTime timeStamp ) : void
timeStamp System.DateTime
리턴 void

Append() 보호된 메소드

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent
리턴 void

DeleteFile() 보호된 메소드

protected DeleteFile ( string fileName ) : void
fileName string
리턴 void

ExistingInit() 보호된 메소드

protected ExistingInit ( ) : void
리턴 void

FileExists() 보호된 메소드

protected FileExists ( string path ) : bool
path string
리턴 bool

GetNextOutputFileName() 보호된 메소드

protected GetNextOutputFileName ( string fileName ) : string
fileName string
리턴 string

NextCheckDate() 보호된 메소드

protected NextCheckDate ( System.DateTime currentDateTime, RollPoint rollPoint ) : System.DateTime
currentDateTime System.DateTime
rollPoint RollPoint
리턴 System.DateTime

OnClose() 보호된 메소드

protected OnClose ( ) : void
리턴 void

OpenFile() 보호된 메소드

protected OpenFile ( string fileName, bool append ) : void
fileName string
append bool
리턴 void

PluginRollingFileAppender() 공개 메소드

public PluginRollingFileAppender ( ) : System
리턴 System

PluginRollingFileAppender() 공개 메소드

public PluginRollingFileAppender ( PluginRollingFileAppender baseAppender, IActivityLogPathProvider path, Locker locker, string accountName, string profileName ) : System
baseAppender PluginRollingFileAppender
path IActivityLogPathProvider
locker Locker
accountName string
profileName string
리턴 System

RollFile() 보호된 메소드

protected RollFile ( string fromFile, string toFile ) : void
fromFile string
toFile string
리턴 void

RollOverRenameFiles() 보호된 메소드

protected RollOverRenameFiles ( string baseFileName, System.DateTime timeStamp ) : void
baseFileName string
timeStamp System.DateTime
리턴 void

RollOverSize() 보호된 메소드

protected RollOverSize ( System.DateTime timeStamp ) : void
timeStamp System.DateTime
리턴 void

RollOverTime() 보호된 메소드

protected RollOverTime ( bool fileIsOpen ) : void
fileIsOpen bool
리턴 void

SetQWForFiles() 보호된 메소드

protected SetQWForFiles ( TextWriter writer ) : void
writer System.IO.TextWriter
리턴 void