log

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Subscribe

func Subscribe() observable.Subscription

func UnSubscribe

func UnSubscribe(sub observable.Subscription)

Types

type ConsoleFormat

type ConsoleFormat struct{}

func (*ConsoleFormat) Format

func (c *ConsoleFormat) Format(entry *logrus.Entry) ([]byte, error)

type Event

type Event struct {
	LogLevel logrus.Level
	Payload  string
}

func (*Event) Type

func (e *Event) Type() string

Jump to

Keyboard shortcuts

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