code simplify for package logs

This commit is contained in:
fuxiaohei
2015-02-23 11:42:46 +08:00
parent 29d4823866
commit 77c1109134
5 changed files with 18 additions and 31 deletions

View File

@@ -292,9 +292,9 @@ func (bl *BeeLogger) Close() {
fmt.Println("ERROR, unable to WriteMsg (while closing logger):", err)
}
}
} else {
break
continue
}
break
}
for _, l := range bl.outputs {
l.Flush()