Slf4jDebugLogger

class Slf4jDebugLogger(logger: Logger, state: DebugState) : DebugLogger(source)

Writes debug lines to the proxy log, tagged with the category that asked for them.

INFO rather than debug, matching the Paper side: Velocity's stock logger configuration does not print DEBUG, and asking operators to edit it before they can answer a bug report is the friction this whole switch exists to remove.

Constructors

Link copied to clipboard
constructor(logger: Logger, state: DebugState)

Functions

Link copied to clipboard
open override fun isEnabled(category: DebugCategory): Boolean
Link copied to clipboard
open override fun log(category: DebugCategory, message: () -> String)