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
To avoid the rename during import, we can just rename the package because log is used more often, while the logger of gommon/log is a drop in replacement for many logging libraries, the library itself is not. This is also why we use errors instead of derrors. The d prefix from dyweb
The main reason is gommon/log does NOT have package level methods to log with default config.
So most time in
pkg.go
I have the following codeTo avoid the rename during import, we can just rename the package because
log
is used more often, while the logger of gommon/log is a drop in replacement for many logging libraries, the library itself is not. This is also why we useerrors
instead ofderrors
. Thed
prefix fromdyweb
It will break all the application/dependencies that depend on it, but AFIK there is no third party library or application using gommon/log
The text was updated successfully, but these errors were encountered: