mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:00:49 +00:00
makes console as default logger
This commit is contained in:
parent
d8bed89c44
commit
06299fa47b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user