filelogger

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package filelogger implements an optional plugin that logs all queries to syslog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileLogger

type FileLogger interface {
	// Stop logging to the given file
	Stop()
}

FileLogger is an opaque interface used to control the file logging

func Init

func Init(path string) (FileLogger, error)

Init starts logging to the given file path.

Jump to

Keyboard shortcuts

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