The RollingFileAppender type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RollingFileAppender(String) | Constructor |
![]() | RollingFileAppender(String, Int64) | Constructor |
Methods
Name | Description | |
---|---|---|
![]() | Close |
Close this appender
(Inherited from FileAppender.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | Log(Exception) |
Log a stack trace
(Overrides FileAppender..::..Log(Exception).) |
![]() | Log(String) |
Log a message
(Overrides FileAppender..::..Log(String).) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Open | (Inherited from FileAppender.) |
![]() | ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | closed |
True if closed
(Inherited from FileAppender.) |
![]() | fileStream | (Inherited from FileAppender.) |
![]() | logger | Destination (Inherited from FileAppender.) |
Properties
Name | Description | |
---|---|---|
![]() | FileName |
Name of file to log to.
(Inherited from FileAppender.) |
![]() | MaxFileSize |
Maximum size of log file in bytes
|
![]() | MaxSizeRollBackups |
Set the maximum number of backup files to retain. If this is set to
zero, the log file will be truncated when it reaches the MaxSize. Backup
files are called FileName.1, FileName.2 etc. This value can't be negative.
The default is 1 backup file.
|