syslog

package
v0.0.0-...-fab57c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package syslog provides a mockable wrapper for log/syslog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) Dial

func (*Impl) Dial(network string, raddr string, priority syslog.Priority, tag string) (*syslog.Writer, error)

func (*Impl) New

func (*Impl) New(priority syslog.Priority, tag string) (*syslog.Writer, error)

func (*Impl) NewLogger

func (*Impl) NewLogger(p syslog.Priority, logFlag int) (*log.Logger, error)

type Interface

type Interface interface {
	Dial(network string, raddr string, priority syslog.Priority, tag string) (*syslog.Writer, error)
	New(priority syslog.Priority, tag string) (*syslog.Writer, error)
	NewLogger(p syslog.Priority, logFlag int) (*log.Logger, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL