Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcast ¶ added in v0.12.0
type Broadcast struct { PrinterConfigs []config.PrinterConfig // contains filtered or unexported fields }
Broadcast is a printer that broadcasts events to multiple printers
func NewBroadcast ¶ added in v0.12.0
func NewBroadcast(printerConfigs []config.PrinterConfig, containerMode config.ContainerMode) (*Broadcast, error)
NewBroadcast creates a new Broadcast printer
type EventPrinter ¶
type EventPrinter interface { // Init serves as the initializer method for every event Printer type Init() error // Preamble prints something before event printing begins (one time) Preamble() // Epilogue prints something after event printing ends (one time) Epilogue(stats metrics.Stats) // Print prints a single event Print(event trace.Event) // dispose of resources Close() }
func New ¶
func New(cfg config.PrinterConfig) (EventPrinter, error)
Click to show internal directories.
Click to hide internal directories.