MCPcopy
hub / github.com/coze-dev/coze-studio / FormatLogger

Interface FormatLogger

backend/pkg/logs/logger.go:26–34  ·  view source on GitHub ↗

FormatLogger is a logs interface that output logs with a format.

Source from the content-addressed store, hash-verified

24
25// FormatLogger is a logs interface that output logs with a format.
26type FormatLogger interface {
27 Tracef(format string, v ...interface{})
28 Debugf(format string, v ...interface{})
29 Infof(format string, v ...interface{})
30 Noticef(format string, v ...interface{})
31 Warnf(format string, v ...interface{})
32 Errorf(format string, v ...interface{})
33 Fatalf(format string, v ...interface{})
34}
35
36// Logger is a logs interface that provides logging function with levels.
37type Logger interface {

Callers 41

TracefFunction · 0.65
NewProducerFunction · 0.65
HandleMessageMethod · 0.65
startCoreConsumerFunction · 0.65
batchSendJetStreamMethod · 0.65
batchSendCoreMethod · 0.65
DebugfFunction · 0.65
toNewModelFunction · 0.65
startHttpServerFunction · 0.65
loadEnvFunction · 0.65
setLogLevelFunction · 0.65

Implementers 1

defaultLoggerbackend/pkg/logs/default.go

Calls

no outgoing calls

Tested by

no test coverage detected