Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decorator ¶
type Decorator interface {
// Get the unique name for a subsystem for the specified scope
Subsystem(scope, name string) string
// Get the prefix for a line
LinePrefix(context LineContext) string
// Get the suffix for a line
LineSuffix(context LineContext) string
}
func NewDefaultDecorator ¶
type LineContext ¶
type LineContext struct {
// The scope of the current line
Scope string
// This line is interrupting a previous line
Interrupting bool
// The scope of the interrupted previous line
InterruptedScope string
// This line is going to be interrupted by the next line
Interrupted bool
// The scope of the interrupting next line
InterruptingScope string
}
Click to show internal directories.
Click to hide internal directories.