MCPcopy
hub / github.com/natefinch/lumberjack / dir

Method dir

lumberjack.go:453–455  ·  view source on GitHub ↗

dir returns the directory for the current filename.

()

Source from the content-addressed store, hash-verified

451
452// dir returns the directory for the current filename.
453func (l *Logger) dir() string {
454 return filepath.Dir(l.filename())
455}
456
457// prefixAndExt returns the filename part and extension part from the Logger's
458// filename.

Callers 3

openNewMethod · 0.95
millRunOnceMethod · 0.95
oldLogFilesMethod · 0.95

Calls 1

filenameMethod · 0.95

Tested by

no test coverage detected