mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 20:00:54 +00:00
beelog bug fixed
This commit is contained in:
parent
220cf91180
commit
8e82ed319b
@ -255,7 +255,7 @@ func (bl *BeeLogger) Write(p []byte) (n int, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (bl *BeeLogger) writeMsg(logLevel int, msg string, v ...interface{}) error {
|
func (bl *BeeLogger) writeMsg(logLevel int, msg string, v ...interface{}) error {
|
||||||
if !beeLogger.init {
|
if !bl.init {
|
||||||
bl.lock.Lock()
|
bl.lock.Lock()
|
||||||
bl.setLogger(AdapterConsole)
|
bl.setLogger(AdapterConsole)
|
||||||
bl.lock.Unlock()
|
bl.lock.Unlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user