15 lines
161 B
Go
15 lines
161 B
Go
package event
|
|
|
|
type Level int
|
|
|
|
const (
|
|
LevelInfo Level = iota
|
|
LevelWarning
|
|
LevelError
|
|
)
|
|
|
|
type Event struct {
|
|
Level Level
|
|
Message string
|
|
Source string
|
|
}
|