freerange
freerange copied to clipboard
Ensure a defaut logger is set before using glogi
This should prevent Failure: Root logger has no level set. errors when logs are produced, e.g. while registering default handlers when loading the namespace.
This assumes a consumer of freerange then sets their own default log level anyway if they also use glogi, so my understanding is this shouldn't impact consumers.
I think it actually makes sense to do this in Glögi directly, as you say consumers can always set their own level but then logging at least works out of the box.
I wonder if this is another Closure library change, I'm not sure I've seen that error before.
Released in Glögi 1.0.136