do bitmask better, add (COMPLETELY 100% EXPERIMENTAL NOT DONE YET) eventlog support to logger

This commit is contained in:
2021-12-15 04:49:03 -05:00
parent d5b1d449e5
commit 3975f8b11f
17 changed files with 698 additions and 224 deletions

View File

@@ -2,7 +2,6 @@ package logging
import (
"log"
"log/syslog"
"os"
)
@@ -22,24 +21,6 @@ type Logger interface {
Shutdown()
}
type SystemDLogger struct {
EnableDebug bool
Prefix string
}
type SyslogLogger struct {
EnableDebug bool
Prefix string
alert,
crit,
debug,
emerg,
err,
info,
notice,
warning *syslog.Writer
}
type StdLogger struct {
*log.Logger
EnableDebug bool