MCPcopy
hub / github.com/netdata/netdata / New

Function New

src/go/logger/logger.go:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21var pluginAttr = slog.String("plugin", executable.Name)
22
23func New() *Logger {
24 return newLogger(os.Stderr, isTerm, 4)
25}
26
27func NewWithWriter(w io.Writer) *Logger {
28 if w == nil {

Callers 4

TestNewFunction · 0.70
WithMethod · 0.70
logger.goFile · 0.70

Calls 1

newLoggerFunction · 0.85

Tested by 2

TestNewFunction · 0.56