We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4d3690 commit 42a97f1Copy full SHA for 42a97f1
pkg/app/master/tui/tui.go
@@ -3,7 +3,7 @@ package tui
3
import (
4
"os"
5
6
- "log"
+ log "github.com/sirupsen/logrus"
7
8
tea "github.com/charmbracelet/bubbletea"
9
"github.com/mintoolkit/mint/pkg/app/master/tui/common"
@@ -17,6 +17,9 @@ func RunTUI(model tea.Model, standalone bool) {
17
os.Exit(1)
18
}
19
defer f.Close()
20
+
21
+ log.SetOutput(f)
22
+ log.SetLevel(log.DebugLevel) // TODO - should derive log level from `FlagLogLevel`
23
// We are running the tui via `mint tui`
24
if !standalone {
25
common.TUIsInstance.Home = model
0 commit comments