diff --git a/library/loggers/lumberjack/file/src/commonMain/kotlin/com/michaelflisar/lumberjack/loggers/file/FileLogger.kt b/library/loggers/lumberjack/file/src/commonMain/kotlin/com/michaelflisar/lumberjack/loggers/file/FileLogger.kt index e7d1410..adccc44 100644 --- a/library/loggers/lumberjack/file/src/commonMain/kotlin/com/michaelflisar/lumberjack/loggers/file/FileLogger.kt +++ b/library/loggers/lumberjack/file/src/commonMain/kotlin/com/michaelflisar/lumberjack/loggers/file/FileLogger.kt @@ -101,7 +101,7 @@ class FileLogger( file?.parent?.let { FileSystem.SYSTEM.createDirectories(it) } - bufferWriter = FileSystem.SYSTEM.sink(file!!).buffer() + bufferWriter = FileSystem.SYSTEM.appendingSink(file!!).buffer() } val writer = bufferWriter!!