package
0.0.0-20220322211447-83cf9715cfa7
Repository: https://github.com/husio/lith.git
Documentation: pkg.go.dev
# Functions
Emit an alert message, using emitter attched to the context.
EmitErr emits an alert message, using emitter attched to the context.
NewTextEmitter returns an emitter that logs entries in a plain text format into given testing object.
NewTextEmitter returns an emitter that writes entries in a plain text format.
UsedEmitter returns alert emitter present in the context or a no-op implementation.
WithEmitter adds alert emitter to the context.
WithPairs returns an alert emitter that will include provided pairs in each emitter message.
# Interfaces
Emitter is implemented by alert sink.