logger

package
v0.2.4-0...-2c2ceb1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0, BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CfgLoggerLevel defines the logger's level.
	CfgLoggerLevel = "logger.level"
	// CfgLoggerDisableCaller defines whether to disable caller info.
	CfgLoggerDisableCaller = "logger.disableCaller"
	// CfgLoggerDisableStacktrace defines whether to disable stack trace info.
	CfgLoggerDisableStacktrace = "logger.disableStacktrace"
	// CfgLoggerEncoding defines the logger's encoding.
	CfgLoggerEncoding = "logger.encoding"
	// CfgLoggerOutputPaths defines the logger's output paths.
	CfgLoggerOutputPaths = "logger.outputPaths"
	// CfgLoggerDisableEvents defines whether to disable logger events.
	CfgLoggerDisableEvents = "logger.disableEvents"
)
View Source
const PluginName = "Logger"

PluginName is the name of the logger plugin.

Variables

This section is empty.

Functions

func Init

func Init()

Init triggers the Init event.

func Plugin

func Plugin() *node.Plugin

Plugin gets the plugin instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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