Daily
class Daily(val folder: String = getDefaultLogFolder(), val fileBaseName: String = DEFAULT_FILE_BASE_NAME, val fileExtension: String = DEFAULT_FILE_EXTENSION, filesToKeep: Int = DEFAULT_FILES_TO_KEEP) : FileLoggerSetup
Creates one log file per day.
When the date changes, logging automatically continues in a new file. Keeps only the newest filesToKeep daily log files and removes older ones.
Defaults:
fileBaseName = "log"
fileExtension = "txt"
filesToKeep = 5
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getRollOverType(currentPath: Path?, event: FileLogger.Event.Log): BaseFileLoggerSetup.RollOverType