MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / newLogger

Function newLogger

agent/utils/common/sqlite.go:96–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96func newLogger() logger.Interface {
97 return logger.New(
98 log.New(os.Stdout, "\r\n", log.LstdFlags),
99 logger.Config{
100 SlowThreshold: time.Second,
101 LogLevel: logger.Silent,
102 IgnoreRecordNotFoundError: true,
103 Colorful: false,
104 },
105 )
106}
107
108func createDirWhenNotExist(isDir bool, pathItem string) (string, error) {
109 checkPath := pathItem

Callers 1

GetDBWithPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected