Documentation
¶
Index ¶
- Constants
- Variables
- type Displayer
- func (d Displayer) Lenght() int
- func (d *Displayer) PrintResult()
- func (d *Displayer) PrintStep1(clearance int, show *string) int
- func (d *Displayer) PrintStep2(clearance int, show *string) int
- func (d *Displayer) PrintStep3(clearance int, show *string) int
- func (d *Displayer) ReadContent()
- func (d *Displayer) RefreshSize() (hasChanged bool)
- func (d *Displayer) SelectCurrent()
Constants ¶
View Source
const CLEARANCE = 8
View Source
const VERSION = "v1.1"
Variables ¶
View Source
var Filter_type []string = []string{"ALL", "ERROR", "WARNING", "INFO", "DEBUG"}
View Source
var LogLevelColor map[string]string = map[string]string{
"ALL": "\u001b[0;0m",
"INFO": "\u001b[0;34m",
"DEBUG": "\u001b[0;32m",
"WARNING": "\u001b[1;33m",
"ERROR": "\u001b[1;31m",
}
View Source
var LogLevelColorSelected map[string]string = map[string]string{
"INFO": "\u001b[0;104m",
"DEBUG": "\u001b[0;102m",
"WARNING": "\u001b[1;103m",
"ERROR": "\u001b[1;101m",
}
View Source
var LogLevelDisp map[string]string = map[string]string{
"INFO": "ℹ️ INFO",
"DEBUG": "🪲 DEBUG",
"WARNING": "🚨WARNING",
"ERROR": "❌ ERROR",
}
Functions ¶
This section is empty.
Types ¶
type Displayer ¶
type Displayer struct { Filename string SelectedLine [3]int CurrentSkip [3]int W int H int SelectedThread *parser.LogLineArray SelectedLL *parser.LogLine ContextLevel int FilterTypeIndex int // contains filtered or unexported fields }
func NewDisplayer ¶
func (*Displayer) PrintResult ¶
func (d *Displayer) PrintResult()
func (*Displayer) ReadContent ¶
func (d *Displayer) ReadContent()
func (*Displayer) RefreshSize ¶
func (*Displayer) SelectCurrent ¶
func (d *Displayer) SelectCurrent()
Click to show internal directories.
Click to hide internal directories.