优化代码

This commit is contained in:
刘祥超
2022-08-10 14:37:27 +08:00
parent c0a35eb5e7
commit 9d9ae288bd

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() {