brent s
39e0a1fd43
Adding more Event Log support, and modifying the loggers so they return errors in their operational functions.
13 lines
345 B
Go
13 lines
345 B
Go
package logging
|
|
|
|
import (
|
|
`errors`
|
|
`fmt`
|
|
)
|
|
|
|
var (
|
|
ErrBadBinPath error = errors.New("evaluated binary path does not actually exist")
|
|
ErrBadPerms error = errors.New("access denied when attempting to register Event Log source")
|
|
ErrBadEid error = errors.New(fmt.Sprintf("event IDs must be between %v and %v inclusive", EIDMin, EIDMax))
|
|
)
|