fix(Logger): make buffer size user customizable
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func (lgr *FileLoggerImpl) init() {
|
||||
lgr.filepath = "./log"
|
||||
lgr.messages = make(chan string, logbuffersize)
|
||||
lgr.messages = make(chan string, Logbuffersize)
|
||||
envfp, envexist := os.LookupEnv("LOGFILE_GO_LOGGER")
|
||||
if envexist {
|
||||
if len(envfp) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user