So I want to develop multiple flavors of log one for generic use and other for performing a specific operation I want to separate those logs by storing them in
I have a Go project where I'm using Zap structured logging to log the contents of structs. That's how I initialise the logger: zapLog, err := zap.NewProductionC
InitExecLog('test-log.log') // exec testing ... // After completed, how can I release the lock on file 'test-log.log'? func InitExecLog(logPath string) { co