Lumberjack
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Lumberjack
file
/
com.michaelflisar.lumberjack.loggers.file
/
FileLoggerSetup
File
Logger
Setup
sealed
class
FileLoggerSetup
:
IFileLoggingSetup
Inheritors
BaseFileLoggerSetup
Members
Types
Companion
Link copied to clipboard
object
Companion
Daily
Link copied to clipboard
class
Daily
(
val
folder
:
String
,
val
fileBaseName
:
String
,
val
fileExtension
:
String
,
filesToKeep
:
Int
)
:
BaseFileLoggerSetup
File
Size
Link copied to clipboard
class
FileSize
(
val
folder
:
String
,
val
fileBaseName
:
String
,
val
fileExtension
:
String
,
filesToKeep
:
Int
,
maxFileSizeInBytes
:
Int
)
:
BaseFileLoggerSetup
Single
File
Link copied to clipboard
class
SingleFile
(
val
folder
:
String
,
fileName
:
String
,
val
fileExtension
:
String
)
:
BaseFileLoggerSetup
Properties
file
Converter
Link copied to clipboard
abstract
val
fileConverter
:
IFileConverter
Functions
clear
Log
Files
Link copied to clipboard
abstract
suspend
fun
clearLogFiles
(
)
file
Path
Link copied to clipboard
abstract
fun
filePath
(
data
:
FileLogger.Event.Data
)
:
String
get
All
Existing
Log
File
Paths
Link copied to clipboard
abstract
fun
getAllExistingLogFilePaths
(
)
:
List
<
Path
>
get
Latest
Log
File
Path
Link copied to clipboard
abstract
fun
getLatestLogFilePath
(
)
:
Path
?
on
Logged
Link copied to clipboard
abstract
fun
onLogged
(
scope
:
CoroutineScope
)