mirror of https://bitbucket.org/ausocean/av.git
ee7cb57fe5
The globalLogger type wraps a logger.Logger. If you use GetLogger which gets the global logger (which provides an interface logger.Logger) a type assertion to JSONLogger will fail, because the type is actually globalLogger. We need to provide the underlying logger instead when we return from GetLogger. |
||
---|---|---|
.. | ||
logger.go |