gocuioutput

package
v0.0.0-...-73d3f13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoCUIOutput

type GoCUIOutput struct {
	// contains filtered or unexported fields
}

func New

func New(g *gocui.Gui, output logberry.OutputDriver) *GoCUIOutput

func (*GoCUIOutput) Attach

func (o *GoCUIOutput) Attach(root *logberry.Root)

Attach notifies the OutputDriver of its Root. It should only be called by a Root.

func (*GoCUIOutput) Detach

func (o *GoCUIOutput) Detach()

Detach notifies the OutputDriver that it has been removed from its Root. It should only be called by a root.

func (*GoCUIOutput) Event

func (o *GoCUIOutput) Event(event *logberry.Event)

Event outputs a generated log entry, as called by a Root or a chaining OutputDriver.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL