logrus-humanize

module
v0.0.0-...-49b44fb Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT

README

Humanize

Format your logrus logs for Human Eyes.

Spits out logs like-a this:

// --- Long Format --- //

2018-11-08T10:49:28 [info]: This is the very polite log message
          Fields:
                    dance:         flhargunstow
                    power_level:   9000
2018-11-08T10:49:28 [error]: Alas, error city!
          Fields:
                    dance:         flhargunstow
                    power_level:   9000
Error: oh heavens oh no an error eep

// --- Compact Format --- //

2018-11-08T10:49:28 [info]: Now, compact!
        	power_level: 9000	dance: flhargunstow
2018-11-08T10:49:28 [error]: This is a very compact error message
        	dance: flhargunstow	power_level: 9000
Error: oh heavens oh no an error eep

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

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