Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IFormatter ¶
type IFormatter = processor.IProcessor
IFormatter specifies what a Formatter does.
func JSON ¶
func JSON() IFormatter
JSON is a JSON formatter. It automatically adds: - Component - Level - Message - Output - Tags - Timestamp (RFC3339). - Fields.
func Text ¶
func Text() IFormatter
Text is a text formatter. It automatically adds: - Component - Level - Message - Output - Timestamp (RFC3339). - Fields.
Click to show internal directories.
Click to hide internal directories.