Add env var check for update
This commit is contained in:
parent
2765b5c7cf
commit
9cf4fe043b
2 changed files with 7 additions and 5 deletions
|
@ -37,6 +37,7 @@ func NewLogger(bufLen int64, mode, config string) {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: use same log level as other loggers.
|
||||
func NewGitLogger(logPath string) {
|
||||
os.MkdirAll(path.Dir(logPath), os.ModePerm)
|
||||
GitLogger = newLogger(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue