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, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecordingTypeFilelog = "filelog"
	RecordingTypeEFK     = "efk"
)

Constant

Variables

Variables

Functions

func Init

func Init(loggerConfig *Logger)

Init initializer

func IsDebugEnabled

func IsDebugEnabled() bool

IsDebugEnabled boolean

func NewAccessLogger

func NewAccessLogger() (h iris.Handler, close func() error)

NewAccessLogger logger

Types

type Logger

type Logger struct {
	Level      string `yaml:"level"`
	Type       string `yaml:"type"`
	Address    string `yaml:"address"`
	RemoteType string `yaml:"udp"`
}

Logger struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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