File: handler.go

package info (click to toggle)
golang-github-anacrolix-log 0.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 114 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package log

type Handler interface {
	Handle(Record)
}

type Record struct {
	Msg
	Level Level
	Names []string
}