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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址