syslogwrapper

package
v0.0.0-...-cd49aae Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

syslog_wrapper.go

syslogwrapper_interface.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyslogWrapper

type SyslogWrapper struct {
	// contains filtered or unexported fields
}

SyslogWrapper is a concrete implementation of SyslogWrapperInterface

func NewSyslogWrapper

func NewSyslogWrapper(tag string) (*SyslogWrapper, error)

func (*SyslogWrapper) Close

func (s *SyslogWrapper) Close()

func (*SyslogWrapper) Debug

func (s *SyslogWrapper) Debug(message string)

func (*SyslogWrapper) Error

func (s *SyslogWrapper) Error(message string)

func (*SyslogWrapper) Info

func (s *SyslogWrapper) Info(message string)

func (*SyslogWrapper) Warning

func (s *SyslogWrapper) Warning(message string)

type SyslogWrapperInterface

type SyslogWrapperInterface interface {
	Close()
	Warning(message string)
	Error(message string)
	Info(message string)
	Debug(message string)
}

SyslogWrapperInterface defines methods for syslog logging

Jump to

Keyboard shortcuts

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