revise a comment
If it gets a msg from the buffer chan, it will write the message to outputs.
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -164,7 +164,7 @@ func (bl *BeeLogger) EnableFuncCallDepth(b bool) { | ... | @@ -164,7 +164,7 @@ func (bl *BeeLogger) EnableFuncCallDepth(b bool) { |
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | // start logger chan reading. | 166 | // start logger chan reading. |
| 167 | // when chan is full, write logs. | 167 | // when chan is not empty, write logs. |
| 168 | func (bl *BeeLogger) startLogger() { | 168 | func (bl *BeeLogger) startLogger() { |
| 169 | for { | 169 | for { |
| 170 | select { | 170 | select { | ... | ... |
-
Please register or sign in to post a comment