logger

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "logger"

Variables

This section is empty.

Functions

func Init

func Init(tag string, argsMap map[string]interface{}) (p handler.Plugin, err error)

Types

type Args

type Args struct {
	Level        string `yaml:"level"`
	File         string `yaml:"file"`
	NoColor      bool   `yaml:"no_color"`
	NoTimestamp  bool   `yaml:"no_timestamp"`
	ReportCaller bool   `yaml:"report_caller"`
}

Jump to

Keyboard shortcuts

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