Skip to content

Commit 63823d1

Browse files
committed
Clarify logger documentation in HotwireConfig
1 parent 501a047 commit 63823d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/kotlin/dev/hotwire/core/config/HotwireConfig.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ class HotwireConfig internal constructor() {
4848
/**
4949
* Set a custom logger to handle debug, warning, and error messages.
5050
* The default logger is [DefaultHotwireLogger].
51+
*
52+
* If you implement your own logger, you should handle debug logging according the the value
53+
* of [debugLoggingEnabled].
5154
*/
5255
var logger: HotwireLogger = DefaultHotwireLogger
5356

0 commit comments

Comments
 (0)