logc

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

logc

Converts fortio.org/log JSON structured log back to console/text output with colors

Example

go run ./levelsDemo 2>&1 | logc

Example console color output

If you don't want colors; pass -no-color

Installation

If you have a recent go installation already:

CGO_ENABLED=0 go install fortio.org/logc@latest

Or get one of the binary releases

Or using the docker image

docker run fortio/logc

Or using brew (mac)

brew install fortio/tap/logc

Development

Run make for both go tests and human check colorization example

make

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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