MCPcopy Create free account
hub / github.com/One-com/gone / New

Function New

log/compat.go:11–16  ·  view source on GitHub ↗

New will instantiate a logger with the same functionality (and limitations) as the std lib logger.

(out io.Writer, prefix string, flags int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TestOutputFunction · 0.70
TestFlagAndPrefixSettingFunction · 0.70
TestUTCFlagFunction · 0.70
initFunction · 0.70
BenchmarkStdPrintlnFunction · 0.70

Calls 4

DoTimeMethod · 0.95
NewStdFormatterFunction · 0.85
SyncWriterFunction · 0.85
NewLoggerFunction · 0.85

Tested by 6

TestOutputFunction · 0.56
TestFlagAndPrefixSettingFunction · 0.56
TestUTCFlagFunction · 0.56
BenchmarkStdPrintlnFunction · 0.56