monilog

Crates.iomonilog
lib.rsmonilog
version0.1.1
sourcesrc
created_at2015-10-28 17:36:05.671777
updated_at2015-12-11 23:54:29.779751
descriptionDisplays your logs nicely
homepage
repositoryhttps://github.com/Nercury/monilog
max_upload_size
id3321
size6,847
Nerijus Arlauskas (Nercury)

documentation

README

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

Commit count: 0

cargo fmt