https://kotlinlang.org logo
#kotlin-logging
Title
# kotlin-logging
m

Mikolaj

02/22/2024, 10:15 AM
Hello! Does kotlin-logging support saving logs into file? 🤔 I am seeking something simillar to logback for android (https://github.com/tony19/logback-android)
j

Jakub Gwóźdź

02/22/2024, 10:53 AM
well, it’s a wrapper on platform-specific loggers, so it all depends on how these logger are configured.
m

Mikolaj

02/22/2024, 11:01 AM
Oh I see. So I would need to create custom logger to save the logs to file, right?
d

dave08

02/27/2024, 10:19 AM
In logback, you'd probably just edit it's config xml file in your resources folder to register a file logger.
8 Views