mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 07:51:30 +00:00
revise a comment
If it gets a msg from the buffer chan, it will write the message to outputs.
This commit is contained in:
parent
ee9749d640
commit
a804d242d9
@ -164,7 +164,7 @@ func (bl *BeeLogger) EnableFuncCallDepth(b bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// start logger chan reading.
|
// start logger chan reading.
|
||||||
// when chan is full, write logs.
|
// when chan is not empty, write logs.
|
||||||
func (bl *BeeLogger) startLogger() {
|
func (bl *BeeLogger) startLogger() {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
Loading…
Reference in New Issue
Block a user