优化代码

This commit is contained in:
GoEdgeLab
2022-08-10 14:37:27 +08:00
parent 0ea4a073a2
commit 09065e4312

View File

@@ -89,7 +89,10 @@ func (this *LogWriter) Write(message string) {
} }
} }
this.c <- message select {
case this.c <- message:
default:
}
} }
func (this *LogWriter) Close() { func (this *LogWriter) Close() {