Documentation ¶
Overview ¶
Package logfmt adds additional details to log messages with errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Wrap ¶
Wrap adds a workaround for there being no support for automatically printing the details of an error to expose the stack trace. This formatter adds an extra detail field to log entries that contain an ErrorKey. If the error to be formatted is a pgconn.PgError, its subfields will also be added to the error message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.