go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/vttablet/filelogger Index | Files

package filelogger

import "gopkg.in/src-d/go-vitess.v1/vt/vttablet/filelogger"

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

Index

Package Files

filelogger.go

type FileLogger Uses

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

FileLogger is an opaque interface used to control the file logging

func Init Uses

func Init(path string) (FileLogger, error)

Init starts logging to the given file path.

Package filelogger imports 5 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.