lmittmann/tint

Incorrect level handler

mdigger opened this issue · 1 comments

if h.level < slog.LevelDebug {
    h.level = defaultLevel
}

source code

How can I set the trace logging level (`slog.LevelDebug-4') with such restrictions?

Fixed in v0.1.2. Since the default level is Info which is 0 not setting it at all is fine. Hopefully slog doesn't change the default level value.