logrus_mate: github.com/heralight/logrus_mate/hooks/syslog Index | Files

package syslog

import "github.com/heralight/logrus_mate/hooks/syslog"

Index

Package Files

syslog_hook.go

func NewSyslogHook Uses

func NewSyslogHook(options logrus_mate.Options) (hook logrus.Hook, err error)

type SyslogHookConfig Uses

type SyslogHookConfig struct {
    Network  string `json:"network"`
    Address  string `json:"address"`
    Priority string `json:"priority"`
    Tag      string `json:"tag"`
}

Package syslog imports 4 packages (graph) and is imported by 1 packages. Updated 2017-08-27. Refresh now. Tools for package owners.