Documentation ¶
Index ¶
Constants ¶
View Source
const ( LevelDebug = "DEBUG" LevelError = "ERROR" LevelNone = "NONE" )
View Source
const ( Prefix = "[mongo-repository]" DateFormat = "2006-01-02T15:04:05.000Z07:00" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestLogger ¶
type TestLogger struct { Logger // contains filtered or unexported fields }
func NewTest ¶
func NewTest(t *testing.T) TestLogger
func (TestLogger) GetOutput ¶
func (tl TestLogger) GetOutput() string
func (TestLogger) SetClock ¶
func (tl TestLogger) SetClock(clock Clock) TestLogger
Click to show internal directories.
Click to hide internal directories.