logmania: dev.sum7.eu/sum7/logmania/input/syslog Index | Files

package syslog

import "dev.sum7.eu/sum7/logmania/input/syslog"

Index

Package Files

internal.go main.go

Variables

var SyslogPriorityMap = map[int]logstd.Level{
    0:  log.PanicLevel,
    1:  log.PanicLevel,
    2:  log.PanicLevel,
    3:  log.ErrorLevel,
    4:  log.WarnLevel,
    5:  log.InfoLevel,
    6:  log.InfoLevel,
    7:  log.DebugLevel,
}

func Init Uses

func Init(configInterface interface{}, exportChannel chan *log.Entry) input.Input

type Input Uses

type Input struct {
    input.Input
    // contains filtered or unexported fields
}

func (*Input) Close Uses

func (in *Input) Close()

func (*Input) Listen Uses

func (in *Input) Listen()

type InputConfig Uses

type InputConfig struct {
    Type    string `mapstructure:"type"`
    Address string `mapstructure:"address"`
}

Package syslog imports 6 packages (graph) and is imported by 3 packages. Updated 2019-08-09. Refresh now. Tools for package owners.