filelogger

package
v3.0.0-rc.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

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