Golang Log2File
Module that initialize mainLogFile in a repository and renames previous one into backupLogFile. (Both names are set on creating options)
Routes
On standard port :40013 supports routes to check log files:
/logs/log_m - for main file
/logs/lob_b - for backup file
Installation
$ GO111MODULE=on go get github.com/Ferrany1/log2file
...
import (
"github.com/Ferrany1/log2file" // imports as package "log2file"
)
...
Examples:
- Empty Options
- Custom Options