1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-28 21:28:38 +00:00

Deprecated gopid in log (#32932)

This commit is contained in:
wxiaoguang
2024-12-21 00:20:51 +08:00
committed by GitHub
parent c20642fa99
commit 1e71ad89ce
6 changed files with 27 additions and 88 deletions

View File

@@ -30,7 +30,7 @@ const (
LUTC // if Ldate or Ltime is set, use UTC rather than the local time zone
Llevelinitial // Initial character of the provided level in brackets, eg. [I] for info
Llevel // Provided level in brackets [INFO]
Lgopid // the Goroutine-PID of the context
Lgopid // the Goroutine-PID of the context, deprecated and it is always a const value
Lmedfile = Lshortfile | Llongfile // last 20 characters of the filename
LstdFlags = Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial // default