logger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const LogFormatJSON = "json"

LogFormatJSON for format JSON

View Source
const LogFormatLTSV = "ltsv"

LogFormatLTSV for format LTSV

View Source
const LogTypeDumpLog = "dumpLog"

LogTypeDumpLog for dump.log

View Source
const LogTypeLog = "log"

LogTypeLog for tcprxy.log

Variables

This section is empty.

Functions

func NewHexLogger added in v0.2.0

func NewHexLogger() *zap.Logger

NewHexLogger returns logger for hex

func NewLogger

func NewLogger() *zap.Logger

NewLogger returns logger

func NewQueryLogger

func NewQueryLogger() *zap.Logger

NewQueryLogger returns logger for mysql/pg

Types

This section is empty.

Jump to

Keyboard shortcuts

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