2 releases

Uses old Rust 2015

0.1.1 Oct 28, 2015
0.1.0 Oct 28, 2015

#89 in #show

MIT license

6KB
116 lines

Monilog

Shows your logs in nice colors.

For now, hardcoded format is:

\[(.*)\] .+\.(WARNING|INFO|ERROR|DEBUG|TRACE): (.*)
  • Accepts raw log data over TCP socket.
  • If logs are from different sources (connections), shows time in different colors.
  • Colors log contents based on error level.

Installation

Install stable Rust, or simply use this command to do it:

$ curl -sSf https://static.rust-lang.org/rustup.sh | sh

Clone Monilog:

$ git clone https://github.com/Nercury/monilog.git

Run it on port 4444

$ cd monilog
$ cargo run --release -- -p 4444

or (the same, more steps)

$ cd monilog
$ cargo build --release
$ ./target/release/monilog -p 4444

How do I send logs to it?

Many logging backends have "socket" handler. Different log entries should be separated by newline.

It does not do xyz!

I am in no hurry to implement things that I don't need. But pull requests are welcome.

License

MIT

Dependencies

~3–11MB
~107K SLoC