Documentation ¶
Index ¶
- Variables
- func Debug(message string)
- func Error(err error)
- func Fatal(err error)
- func Info(message string)
- func NewLogger() *log.Entry
- func SetFormatter(format string)
- func SetLabel(labels map[string]string)
- func SetOutput(path string)
- func SetRotation(path string, maxSize, maxAge int)
- func WithFields(fields log.Fields) *log.Entry
- type AuditEventLog
- type LogLabels
- type RestrictedFileAccessLog
- type RestrictedMountLog
- type RestrictedNetworkLog
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger *log.Entry
)
Functions ¶
func SetFormatter ¶
func SetFormatter(format string)
func SetRotation ¶
Types ¶
type AuditEventLog ¶ added in v0.0.4
type RestrictedFileAccessLog ¶ added in v0.0.4
type RestrictedFileAccessLog struct { AuditEventLog Path string }
func (*RestrictedFileAccessLog) Info ¶ added in v0.0.4
func (l *RestrictedFileAccessLog) Info()
type RestrictedMountLog ¶ added in v0.0.5
type RestrictedMountLog struct { AuditEventLog SourcePath string }
func (*RestrictedMountLog) Info ¶ added in v0.0.5
func (l *RestrictedMountLog) Info()
type RestrictedNetworkLog ¶ added in v0.0.4
type RestrictedNetworkLog struct { AuditEventLog Addr string Domain string Port uint16 Protocol string }
func (*RestrictedNetworkLog) Info ¶ added in v0.0.4
func (l *RestrictedNetworkLog) Info()
Click to show internal directories.
Click to hide internal directories.