logging

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLog

func GetLog(log interface{})

func GetLogByName

func GetLogByName(name string) interface{}

func Register added in v1.1.8

func Register(name string, adapter LogAdapter)

Types

type FrameFormatter

type FrameFormatter struct {
}

func (*FrameFormatter) Format

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

type LogAdapter added in v1.1.8

type LogAdapter interface {
	CreateLog() interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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