Commit 06299fa4 authored by JessonChan's avatar JessonChan

makes console as default logger

parent d8bed89c
......@@ -464,7 +464,11 @@ func (bl *BeeLogger) flush() {
}
// BeeLogger references the used application logger.
var beeLogger = NewLogger()
var beeLogger *BeeLogger
func init() {
beeLogger = NewLogger()
}
// GetLogger returns the default BeeLogger
func GetBeeLogger() *BeeLogger {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment