Documentation
¶
Index ¶
- func BlockDisplay(w io.Writer) metrics.Processors
- func BlockDisplayWith(w io.Writer, header string, filterFn func(metrics.Entry) bool) metrics.Processors
- func FlatDisplay(w io.Writer) metrics.Processors
- func FlatDisplayWith(w io.Writer, header string, filterFn func(metrics.Entry) bool) metrics.Processors
- func StackDisplay(w io.Writer) metrics.Processors
- func StackDisplayWith(w io.Writer, header string, tag string, filterFn func(metrics.Entry) bool) metrics.Processors
- type Emitter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockDisplay ¶
func BlockDisplay(w io.Writer) metrics.Processors
BlockDisplay writes giving Entries as seperated blocks of contents where the each content is converted within a block like below:
Message: We must create new standard behaviour Function: BuildPack +-----------------------------+------------------------------+ | displayrange.address.bolder | "No 20 tokura flag" | +-----------------------------+------------------------------+ +--------------------------+----------+ | displayrange.bolder.size | 20 | +--------------------------+----------+
func BlockDisplayWith ¶
func BlockDisplayWith(w io.Writer, header string, filterFn func(metrics.Entry) bool) metrics.Processors
BlockDisplayWith writes giving Entries as seperated blocks of contents where the each content is converted within a block like below:
Message: We must create new standard behaviour Function: BuildPack +-----------------------------+------------------------------+ | displayrange.address.bolder | "No 20 tokura flag" | +-----------------------------+------------------------------+ +--------------------------+----------+ | displayrange.bolder.size | 20 | +--------------------------+----------+
func FlatDisplay ¶
func FlatDisplay(w io.Writer) metrics.Processors
FlatDisplay writes giving Entries as seperated blocks of contents where the each content is converted within a block like below:
Message: We must create new standard behaviour Function: BuildPack | display: red, words: 20, Message: We must create new standard behaviour Function: BuildPack | display: red, words: 20,
func FlatDisplayWith ¶
func FlatDisplayWith(w io.Writer, header string, filterFn func(metrics.Entry) bool) metrics.Processors
FlatDisplayWith writes giving Entries as seperated blocks of contents where the each content is converted within a block like below:
[Header]: We must create new standard behaviour Function: BuildPack | display: red, words: 20, [Header]: We must create new standard behaviour Function: BuildPack | display: red, words: 20,
func StackDisplay ¶
func StackDisplay(w io.Writer) metrics.Processors
StackDisplay writes giving Entries as seperated blocks of contents where the each content is converted within a block like below:
Message: We must create new standard behaviour Function: BuildPack - displayrange.address.bolder: "No 20 tokura flag" - displayrange.bolder.size: 20
func StackDisplayWith ¶
func StackDisplayWith(w io.Writer, header string, tag string, filterFn func(metrics.Entry) bool) metrics.Processors
StackDisplayWith writes giving Entries as seperated blocks of contents where the each content is converted within a block like below:
[Header]: We must create new standard behaviour Function: BuildPack [tag] displayrange.address.bolder: "No 20 tokura flag" [tag] displayrange.bolder.size: 20
Types ¶
type Emitter ¶
Emitter emits all entries into the entries into a sink io.writer after transformation from giving transformer function..
func NewEmitter ¶
NewEmitter returns a new instance of Emitter.