MCPcopy
hub / github.com/apache/devlake / DefaultLogger

Struct DefaultLogger

backend/impls/logruslog/logger.go:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30var alreadyInBracketsRegex = regexp.MustCompile(`\[.*?]+`)
31
32type DefaultLogger struct {
33 log *logrus.Logger
34 config *log.LoggerConfig
35}
36
37func NewDefaultLogger(logger *logrus.Logger) (log.Logger, errors.Error) {
38 defaultLogger := &DefaultLogger{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected