mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24w21d
This commit is contained in:
parent
e32adadaff
commit
267dfafcb9
10 changed files with 154 additions and 35 deletions
|
|
@ -56,7 +56,6 @@ func Log(customMessage string) {
|
|||
logChannel <- customMessage
|
||||
}
|
||||
|
||||
// 格式化日志记录
|
||||
func Logw(format string, args ...interface{}) {
|
||||
message := fmt.Sprintf(format, args...)
|
||||
Log(message)
|
||||
|
|
@ -82,7 +81,6 @@ func LogError(format string, args ...interface{}) {
|
|||
Log(message)
|
||||
}
|
||||
|
||||
// 关闭日志文件
|
||||
func Close() {
|
||||
logFileMutex.Lock()
|
||||
defer logFileMutex.Unlock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue