Documentation ¶
Index ¶
- Constants
- func Debug(msg string, a ...interface{})
- func Error(msg string, a ...interface{})
- func Info(msg string, a ...interface{})
- func InitDebug(g *gocui.Gui, masterUI MasterUIInterface)
- func Open()
- func SetDebugEnabled(isEnabled bool)
- func Warn(msg string, a ...interface{})
- type DebugWidget
- type LogLevel
- type LogLine
- type MasterUIInterface
Constants ¶
View Source
const ( DebugLevel LogLevel = "D" InfoLevel = "I" WarnLevel = "W" ErrorLevel = "E" )
View Source
const MAX_LOG_FILES = 1000
Variables ¶
This section is empty.
Functions ¶
func InitDebug ¶
func InitDebug(g *gocui.Gui, masterUI MasterUIInterface)
func SetDebugEnabled ¶ added in v0.7.3
func SetDebugEnabled(isEnabled bool)
Types ¶
type DebugWidget ¶
type DebugWidget struct {
// contains filtered or unexported fields
}
func NewDebugWidget ¶
func NewDebugWidget(masterUI MasterUIInterface, name string) *DebugWidget
func (*DebugWidget) Name ¶
func (w *DebugWidget) Name() string
type MasterUIInterface ¶ added in v0.7.8
type MasterUIInterface interface { SetCurrentViewOnTop(*gocui.Gui) error GetCurrentView(g *gocui.Gui) *gocui.View CloseView(managerUI.Manager) error CloseViewByName(viewName string) error LayoutManager() managerUI.LayoutManagerInterface GetHeaderSize() int GetAlertSize() int GetTopMargin() int SetMinimizeHeader(g *gocui.Gui, minimizeHeader bool) IsPrivileged() bool GetDisplayPaused() bool SetDisplayPaused(paused bool) GetTargetDisplay() string }
Click to show internal directories.
Click to hide internal directories.