Just a simple program to watch every single change in a log file.
It requires: Go 1.20
First of all, clone this repository to your machine:
git clone https://github.com/Philipelima/log-watcher.git
After run the command:
GOOS={os} GOARCH={arch} go build -o log-watcher
In development mode, on the log-watcher dir:
go run ./cmd {filepath}
After compile, on the application dir:
./log-watcher {filepath}