logging

package
v0.0.0-...-7c51b95 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Debug level = `debug`
	Info        = `info`
	Warn        = `warn`
	Error       = `error`
	Fatal       = `fatal`
	Panic       = `panic`
)

Variables

This section is empty.

Functions

func New

func New(config *Configuration, event contract.Event) contract.Loggable

Types

type Configuration

type Configuration struct {
	Default    []string               `json:"default" yaml:"default"`
	Channels   map[string]interface{} `json:"channels" yaml:"channels"`
	StackLevel string                 `json:"stack_level" yaml:"stack_level" mapstructure:"stack_level"`
	Formatter  string                 `json:"formatter" yaml:"formatter"`
}

type Provider

type Provider struct {
	kernel.BaseProvider
}

func (*Provider) Boot

func (p *Provider) Boot()

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) Register

func (p *Provider) Register()

Jump to

Keyboard shortcuts

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