jx-logging

module
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2020 License: Apache-2.0

README

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

Directories

Path Synopsis
pkg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL