mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 15:11:02 +00:00
Merge pull request #1 from skovtunenko/Removed-unconditional-logging-profile
Removed unconditional logging profile
This commit is contained in:
commit
ab2fed3215
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import (
|
|||
func NewLogger(config *config.AppConfig, rollrusHook string) *logrus.Entry {
|
||||
var log *logrus.Logger
|
||||
environment := "production"
|
||||
if true || config.Debug || os.Getenv("DEBUG") == "TRUE" { // TODO: remove true here
|
||||
if config.Debug || os.Getenv("DEBUG") == "TRUE" {
|
||||
environment = "development"
|
||||
log = newDevelopmentLogger(config)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue