logsvc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogFactory

func NewLogFactory(buildFunc func() contract.ILog) contract.ILogFactory

创建日志工厂

Types

type LogProxy

type LogProxy struct {
	DebugAction   func(map[string]string)
	ErrorAction   func(map[string]string, error)
	InfoAction    func(map[string]string)
	WarningAction func(map[string]string)
	// contains filtered or unexported fields
}

func (*LogProxy) AddLabel

func (m *LogProxy) AddLabel(key, f string, v ...interface{}) contract.ILog

func (*LogProxy) Debug

func (m *LogProxy) Debug()

func (*LogProxy) Error

func (m *LogProxy) Error(err error)

func (*LogProxy) Info

func (m *LogProxy) Info()

func (*LogProxy) Warning

func (m *LogProxy) Warning()

Jump to

Keyboard shortcuts

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