logutils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileWriter

func NewFileWriter(filename string, maxSize int, maxBackups int, maxAge int, compress bool) io.Writer

func NewGRPCLogger added in v0.7.1

func NewGRPCLogger(logLevel string, logFilename string, logMaxSize int, logMaxBackups int, logMaxAge int, logCompress bool) *zap.Logger

func NewLogger

func NewLogger(logLevel string, logFilename string, logMaxSize int, logMaxBackups int, logMaxAge int, logCompress bool) *zap.Logger

Types

type ApacheCombinedLogger

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

func NewApacheCombinedLogger

func NewApacheCombinedLogger(filename string, maxSize int, maxBackups int, maxAge int, compress bool) *ApacheCombinedLogger

func (ApacheCombinedLogger) Log

Jump to

Keyboard shortcuts

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