Documentation
¶
Overview ¶
Package prettylogs uses concept of structured logging and the methods to default add structure to log entry payload fields.
The prettylogs package can be used to log entries that use the jsonPayload field to add structure to their payloads. By default it logs "level", "method", "msg", "time" json fields.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶ added in v0.1.1
Error accepts the string message and error It logs the error level message with method name and timestamp
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.