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. |
||
---|---|---|
.. | ||
global | ||
Makefile | ||
create_service.sh | ||
debug.go | ||
file.go | ||
file_test.go | ||
main.go | ||
notifier.go | ||
nowatchdog.go | ||
slate.go | ||
utils.go | ||
vidforward_test.go | ||
watcher.go | ||
watcher_test.go |