Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "test"
Name is the name of the file that the jsonlogger logs to.
Variables ¶
This section is empty.
Functions ¶
func ValidateLogOpt ¶
ValidateLogOpt looks for json specific log options max-file & max-size.
Types ¶
type TestLogger ¶
type TestLogger struct {
// contains filtered or unexported fields
}
TestLogger is Logger implementation for test
func (*TestLogger) Close ¶
func (l *TestLogger) Close() error
Close closes underlying file and signals all readers to stop.
Click to show internal directories.
Click to hide internal directories.