MCPcopy
hub / github.com/songquanpeng/one-api / SysLog

Function SysLog

common/logger/logger.go:46–49  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

44}
45
46func SysLog(s string) {
47 t := time.Now()
48 _, _ = fmt.Fprintf(gin.DefaultWriter, "[SYS] %v | %s \n", t.Format("2006/01/02 - 15:04:05"), s)
49}
50
51func SysLogf(format string, a ...any) {
52 SysLog(fmt.Sprintf(format, a...))

Callers 15

mainFunction · 0.92
testChannelFunction · 0.92
getGitHubUserInfoByCodeFunction · 0.92
getOidcUserInfoByCodeFunction · 0.92
getLarkUserInfoByCodeFunction · 0.92
InitChannelCacheFunction · 0.92
SyncChannelCacheFunction · 0.92
batchUpdateFunction · 0.92
SyncOptionsFunction · 0.92
CreateRootAccountIfNeedFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected