crosssyslog

package
v0.0.0-...-0b7460b Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LOG_INFO   = syslog.LOG_INFO
	LOG_LOCAL0 = syslog.LOG_LOCAL0
)

Functions

This section is empty.

Types

type Priority

type Priority = syslog.Priority

type Syslog

type Syslog struct {
	*syslog.Writer
}

func New

func New(priority Priority, tag string) (*Syslog, error)

func (*Syslog) Write

func (s *Syslog) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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