Edoardo Luppi
05/05/2026, 9:55 PMconsole in JS?
2. Would you be up for a PR to allow programmatically setting a different output/level? I need to integrate logging with VS Code's own log channels.Chrimaeon
05/05/2026, 10:00 PMEdoardo Luppi
05/05/2026, 10:02 PMKtorSimpleLogger with a logging level that works through process.env and that always outputs to console.Chrimaeon
05/05/2026, 10:06 PMChrimaeon
05/05/2026, 10:08 PMEdoardo Luppi
05/05/2026, 10:08 PMEdoardo Luppi
05/05/2026, 10:26 PMBruce Hamilton
05/06/2026, 6:48 AMval environment = applicationEnvironment {
this.log = CustomFileLogger("output.log")
}
That being said, there's a fair number static loggers floating around that default to KtorSimpleLogger which seem to be a legacy of a common practice with SLF4J when we were working only with JVM.Edoardo Luppi
05/06/2026, 7:31 AMEdoardo Luppi
05/06/2026, 7:34 AMKtorSimpleLogger?Bruce Hamilton
05/06/2026, 7:47 AMBruce Hamilton
05/06/2026, 7:49 AMEdoardo Luppi
05/06/2026, 7:52 AMEdoardo Luppi
05/06/2026, 7:54 AMBruce Hamilton
05/06/2026, 7:56 AMBruce Hamilton
05/06/2026, 7:57 AMEdoardo Luppi
05/06/2026, 8:51 AMBruce Hamilton
05/06/2026, 9:09 AMEdoardo Luppi
05/06/2026, 9:15 AM