Added Admin Overview
This commit is contained in:
1 parent
5cd7f237a3
commit
ea2a790bad
21 files changed
+6411
-6271
No files matched your search
@@ -0,0 +1,6 @@
|
||||
package Scheme
|
||||
|
||||
const (
|
||||
A string = `loga` // Web log line, kind A (different color for each line)
|
||||
B string = `logb` // Web log line, kind B (different color for each line)
|
||||
)
|
||||
@@ -0,0 +1,25 @@
|
||||
package Scheme
|
||||
|
||||
// The type for the web logger viewer template
|
||||
type Viewer struct {
|
||||
Title string
|
||||
SetLiveView bool
|
||||
CurrentLevel string
|
||||
CurrentTimeRange string
|
||||
CurrentCategory string
|
||||
CurrentImpact string
|
||||
CurrentSeverity string
|
||||
CurrentMessageName string
|
||||
CurrentSender string
|
||||
CurrentPage string
|
||||
MessageNames []string
|
||||
Sender []string
|
||||
Events []LogEvent
|
||||
}
|
||||
|
||||
// Type for a log event
|
||||
type LogEvent struct {
|
||||
LogLine string
|
||||
LogLevel string // logwarn || logdebug || logerror || loginfo || logtalkative || logsecurity
|
||||
AB string // loga || logb
|
||||
}
|
||||
Reference in new issue
Block a user