This PR adds the zap wrapper + units tests, and the Merak Logger interface for the Merak Logger.
Capabilities include
Different log levels
Info, Debug, Warn, Error, Panic, and Fatal
Dynamic log level setting
Log to syslog
Log to file
Log to stdout
Log to both stdout and /var/log/merak/service_name
Users can create and use this logger as follows
// Logs will print to stdout and be stored under /var/log/merak/your_service_name_here
logger, err := NewLogger(INFO, "your_service_name_here")
logger.Info("The values are:", "a", "2")
// Once done sync the logs
logger.flush()
This PR adds the zap wrapper + units tests, and the Merak Logger interface for the Merak Logger. Capabilities include
Users can create and use this logger as follows