You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A maintainer will take a look at your issue shortly. 👀
In the meantime: We are working on Viper v2 and we would love to hear your thoughts about what you like or don't like about Viper, so we can improve or fix those issues.
📣 If you've already given us your feedback, you can still help by spreading the news,
either by sharing the above link or telling people about this on Twitter:
#1275 adds an experimental WithLogger function that allows overriding the builtin logger. Please note that it is not covered by the backwards compatibility promise.
Preflight Checklist
Problem Description
v.logger is now an interface, which is great, but there's no mechanism to override the default
jwwLogger{}
for the global Viper (GetViper()
).Proposed Solution
introduce a
GetViper().UseLogger(newLogger Logger)
?Alternatives Considered
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: