Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 937 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 937 Bytes

jx logging

Go Report Card Downloads

A simple logging wrapper around logrus used in all JX components. The aim is to have a single place to configure log formats and levels.

Configuration

Configuration can be done with the following environment variables.

Variable Options Default
JX_LOG_LEVEL debug, info, warn info
JX_LOG_FORMAT text, json, stackdriver text
JX_LOG_FILE a location to send debug logs to
JX_LOG_SERVICE the service name
JX_LOG_SERVICE_VERSION the service version
JX_LOG_STACK_SKIP the comma separated stack frames to skip in the logs