Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fields ¶
type Fields map[string]interface{}
Fields allows to add structured fields to a message.
type Options ¶
type Options struct { // Structured fields. Fields Fields // Flags define behaviors. Flag flag.Flag // OutputsNames are the names of the outputs to be used. OutputsNames []string // ProcessorsNames are the names of the processors to be used. ProcessorsNames []string // Tags are indicators consumed by `Output`s and `Processor`s. Tags []string }
Options extends printer's capabilities.
Note: Changes in the `Message` or `Options` data structure may trigger changes in the `Copy`, `mergeOptions`, `New`, or `NewOptions` methods.
Click to show internal directories.
Click to hide internal directories.