Joutsen Logging v0.5.0+22-gec3d058
Public Member Functions | Properties | List of all members
Joutsen.Logging.FileRotationOptions Class Reference

A class containing file options for the Joutsen.Logging.FileRotationHandler. More...

Public Member Functions

 FileRotationOptions (String filepath)
 

Properties

String Filepath [get]
 The path to the active log file. More...
 
long RotationThreshold [get, set]
 The filesize in bytes that should cause log rotation. More...
 
byte NumberOfBackups [get, set]
 The number of backups to keep when the file is rotated. More...
 
Encoding FileEncoding [get, set]
 The encoding to use when writing to the file. More...
 

Detailed Description

A class containing file options for the Joutsen.Logging.FileRotationHandler.

Since
0.4.0

Constructor & Destructor Documentation

◆ FileRotationOptions()

Joutsen.Logging.FileRotationOptions.FileRotationOptions ( String  filepath)

Property Documentation

◆ FileEncoding

Encoding Joutsen.Logging.FileRotationOptions.FileEncoding
getset

The encoding to use when writing to the file.

◆ Filepath

String Joutsen.Logging.FileRotationOptions.Filepath
get

The path to the active log file.

◆ NumberOfBackups

byte Joutsen.Logging.FileRotationOptions.NumberOfBackups
getset

The number of backups to keep when the file is rotated.

◆ RotationThreshold

long Joutsen.Logging.FileRotationOptions.RotationThreshold
getset

The filesize in bytes that should cause log rotation.