rus

package
v0.0.0-...-d5737d5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provide

func Provide() logger.Logger

Types

type NotifyHook

type NotifyHook struct {
	*lumberjack.Logger
}

func (*NotifyHook) Fire

func (m *NotifyHook) Fire(entry *logrus.Entry) error

func (*NotifyHook) Levels

func (m *NotifyHook) Levels() []logrus.Level

type Rus

type Rus struct {
	*logrus.Entry
}

func (*Rus) Prefix

func (r *Rus) Prefix(s string) logger.Logger

type TextFormatter

type TextFormatter struct {
}

func (*TextFormatter) Format

func (f *TextFormatter) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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