Documentation ¶
Index ¶
- type InteractiveRenderer
- func (r *InteractiveRenderer) DrawFrame()
- func (r *InteractiveRenderer) RenderMessage(entry *echelon.LogEntryMessage)
- func (r *InteractiveRenderer) RenderScopeFinished(entry *echelon.LogScopeFinished)
- func (r *InteractiveRenderer) RenderScopeStarted(entry *echelon.LogScopeStarted)
- func (r *InteractiveRenderer) StartDrawing()
- func (r *InteractiveRenderer) StopDrawing()
- type SimpleRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InteractiveRenderer ¶
type InteractiveRenderer struct {
// contains filtered or unexported fields
}
func NewInteractiveRenderer ¶
func NewInteractiveRenderer(out *os.File, rendererConfig *config.InteractiveRendererConfig) *InteractiveRenderer
func (*InteractiveRenderer) DrawFrame ¶
func (r *InteractiveRenderer) DrawFrame()
func (*InteractiveRenderer) RenderMessage ¶
func (r *InteractiveRenderer) RenderMessage(entry *echelon.LogEntryMessage)
func (*InteractiveRenderer) RenderScopeFinished ¶
func (r *InteractiveRenderer) RenderScopeFinished(entry *echelon.LogScopeFinished)
func (*InteractiveRenderer) RenderScopeStarted ¶
func (r *InteractiveRenderer) RenderScopeStarted(entry *echelon.LogScopeStarted)
func (*InteractiveRenderer) StartDrawing ¶
func (r *InteractiveRenderer) StartDrawing()
func (*InteractiveRenderer) StopDrawing ¶
func (r *InteractiveRenderer) StopDrawing()
type SimpleRenderer ¶
type SimpleRenderer struct {
// contains filtered or unexported fields
}
func NewSimpleRenderer ¶
func NewSimpleRenderer(out io.Writer, colors *terminal.ColorSchema) *SimpleRenderer
func (SimpleRenderer) RenderMessage ¶
func (r SimpleRenderer) RenderMessage(entry *echelon.LogEntryMessage)
func (SimpleRenderer) RenderScopeFinished ¶
func (r SimpleRenderer) RenderScopeFinished(entry *echelon.LogScopeFinished)
func (SimpleRenderer) RenderScopeStarted ¶
func (r SimpleRenderer) RenderScopeStarted(entry *echelon.LogScopeStarted)
func (SimpleRenderer) ScopeHasStarted ¶ added in v1.2.1
func (r SimpleRenderer) ScopeHasStarted(scopes []string) bool
Click to show internal directories.
Click to hide internal directories.