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
- func (r SimpleRenderer) RenderMessage(entry *echelon.LogEntryMessage)
- func (r SimpleRenderer) RenderRawMessage(message string)
- func (r SimpleRenderer) RenderScopeFinished(entry *echelon.LogScopeFinished)
- func (r SimpleRenderer) RenderScopeStarted(entry *echelon.LogScopeStarted)
- func (r SimpleRenderer) ScopeHasStarted(scopes []string) bool
- type StubRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InteractiveRenderer ¶
type InteractiveRenderer struct { StubRenderer // 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 { StubRenderer // 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) RenderRawMessage ¶ added in v1.7.0
func (r SimpleRenderer) RenderRawMessage(message string)
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
type StubRenderer ¶ added in v1.7.0
type StubRenderer struct{}
func (*StubRenderer) RenderMessage ¶ added in v1.7.0
func (*StubRenderer) RenderMessage(entry *echelon.LogEntryMessage)
func (*StubRenderer) RenderScopeFinished ¶ added in v1.7.0
func (*StubRenderer) RenderScopeFinished(entry *echelon.LogScopeFinished)
func (*StubRenderer) RenderScopeStarted ¶ added in v1.7.0
func (*StubRenderer) RenderScopeStarted(entry *echelon.LogScopeStarted)
Click to show internal directories.
Click to hide internal directories.