Skip to content

Commit 1df06cc

Browse files
arschlesAaron Schlesinger
authored andcommitted
feat(boot.go): check for debug and enable debug logging as appropriate
1 parent cefe0f5 commit 1df06cc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

boot.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ func init() {
2323
}
2424

2525
func main() {
26+
if os.Getenv("DEBUG") == "true" {
27+
log.IsDebugging = true
28+
}
29+
log.Debug("Running in debug mode")
30+
2631
app := cli.NewApp()
2732

2833
app.Commands = []cli.Command{

0 commit comments

Comments
 (0)