Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func CaptureLogs ¶
func CaptureLogs() *capturedLogs
Types ¶
type IndentLogger ¶
type IndentLogger struct { Color bool // contains filtered or unexported fields }
IndentLogger enable to write debug message with a tree structure.
func (*IndentLogger) Line ¶
func (il *IndentLogger) Line(format string, args ...interface{})
Line simply writes the message without changing the indentation.
func (*IndentLogger) LineWithDedent ¶
func (il *IndentLogger) LineWithDedent(format string, args ...interface{})
LineWithDedent decreases the level, then write the message.
func (*IndentLogger) LineWithIndent ¶
func (il *IndentLogger) LineWithIndent(format string, args ...interface{})
LineWithIndent prints the message with the given indent level, then increases it.
Click to show internal directories.
Click to hide internal directories.