Ocean/Log/Web/Scheme/Scheme.go

30 lines
727 B
Go
Raw Normal View History

package Scheme
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
}
// <li class="logline loga logwarn">
// <div>....</div>
// </li>
// <li class="logline logb logwarn">
// <div>....</div>
// </li>
type LogEvent struct {
LogLine string
LogLevel string // logwarn || logdebug || logerror || loginfo || logtalkative || logsecurity
AB string // loga || logb
}