stack

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackHook

type StackHook struct{}

func NewHook

func NewHook() StackHook

func (StackHook) Fire

func (hook StackHook) Fire(entry *logrus.Entry) error

Fire is called by logrus when something is logged.

func (StackHook) Levels

func (hook StackHook) Levels() []logrus.Level

Levels provides the levels to filter.

Jump to

Keyboard shortcuts

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