MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / FatalLog

Function FatalLog

common/logger.go:93–97  ·  view source on GitHub ↗
(v ...any)

Source from the content-addressed store, hash-verified

91}
92
93func FatalLog(v ...any) {
94 t := time.Now()
95 _, _ = fmt.Fprintf(gin.DefaultErrorWriter, "[FATAL] %v | %v \n", t.Format("2006/01/02 - 15:04:05"), v)
96 os.Exit(1)
97}
98
99func LogQuota(quota int) string {
100 if DisplayInCurrencyEnabled {

Callers 6

mainFunction · 0.92
InitResourcesFunction · 0.92
InitDBFunction · 0.92
InitLogDBFunction · 0.92
InitRedisClientFunction · 0.85
ParseRedisOptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected