2 Commits

Author SHA1 Message Date
Vojtech Vitek
40e1a66465 Improve custom logger: Use stdlib's existing logger variable by default
Follow-up on #105. Don't allocate new stdlib's logger and reuse
the default logger (unexported) variable. This will enable people
make custom changes to the std logger, ie. log.SetFlags(),
log.SetPrefix() or log.SetOutput() without having to duplicate
the same code and applying it to goose logger.
2019-03-04 13:36:48 -05:00
Maxim Krasilnikov
1cebce80c7 Added logger interface and SetLogger func for redefine package output 2018-04-30 12:30:13 +03:00