logcolor, or lc in short, is a very basic log viewer with colors. It works in command line and supplies elementary features to view log files. It is easy to setup and customize.
- Colorize matched texts in the log input
- Works with pipe operator |
- Line numbering
- Easy usage
- No prerequisites
Download or clone repo and enter into root folder:
mkdir build
cd build
cmake ..
make # or make install to system-wide using
foo@bar:~$ lc -f file.log
foo@bar:~$ cat /var/log/syslog | lc
foo@bar:~$ lc -l -f file.log
foo@bar:~$ lc -n 300 -f file.log # last 300 lines
logcolor is an open source software licensed under MIT. See the LICENSE file for more