unlog

command module
v0.0.0-...-9d53391 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2015 License: MIT Imports: 12 Imported by: 0

README

Unlog

Circle CI

Humanize your logs

unlog is an experimental tool trying to improve the logging part of application development. Currently, it expects json-formatted logs on stdin to output something like this :




Usage

delay=300
./etc/log_generator.sh ${delay} | \ # generate a new log line every 300 seconds
  ./unlog --unfold                  # parse and humanize output

Acceptance testing / Demo

Install phony to generate fake logs and process it through unlog.

make install.tools
make demo

Deployment

local version=0.2.0
local platform=darwin-amd64

curl \
  -ksL \
  -o /usr/local/bin/unlog \
  https://github.com/hackliff/unlog/releases/download/${version}/unlog-${platform}
chmod +x /usr/local/bin/unlog

Documentation

Check it out on gowalker, godoc, or browse it locally:

$ make godoc
$ $BROWSER docker-dev:6060/pkg/github.com/hackliff/unlog

Contributing

Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here =)

make install.tools
go get ./...
make tests TESTARGS=-test.v

Conventions

unlog follows some wide-accepted guidelines

Authors

Selfie Name Twitter
text Xavier Bruhiere @XavierBruhiere

Licence

Copyright 2015 Xavier Bruhiere.

unlog is available under the MIT Licence.


gopher

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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