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
It would be great if the logger on DbMap was defined as an interface with the single Printf function needed rather than the full std log.Logger struct to make it easy to supply custom loggers ie. Logrus.
// in DbMaploggerinterface {
Printf(formatstring, v...interface{})
}
// vs.logger*log.Logger
Happy to supply a PR if there's interest...
The text was updated successfully, but these errors were encountered:
It would be great if the
logger
onDbMap
was defined as an interface with the singlePrintf
function needed rather than the full stdlog.Logger
struct to make it easy to supply custom loggers ie. Logrus.Happy to supply a PR if there's interest...
The text was updated successfully, but these errors were encountered: