MCPcopy
hub / github.com/QuantumNous/new-api / SysError

Function SysError

common/sys_log.go:24–29  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

22}
23
24func SysError(s string) {
25 t := time.Now()
26 LogWriterMu.RLock()
27 _, _ = fmt.Fprintf(gin.DefaultErrorWriter, "[SYS] %v | %s \n", t.Format("2006/01/02 - 15:04:05"), s)
28 LogWriterMu.RUnlock()
29}
30
31func FatalLog(v ...any) {
32 t := time.Now()

Callers 15

mainFunction · 0.92
InitResourcesFunction · 0.92
findOrCreateOAuthUserFunction · 0.92
FetchUpstreamRatiosFunction · 0.92
MigrateConsoleSettingFunction · 0.92
AddRedemptionFunction · 0.92
GetAllChannelsFunction · 0.92
CopyChannelFunction · 0.92
SyncUpstreamModelsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected