loger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Conf common.Config
	// contains filtered or unexported fields
}

Manager manage all log

func GetManager

func GetManager() *Manager

GetManager get manager impl

func (*Manager) Add

func (m *Manager) Add(outTo int, format int, level int, msg string, v ...interface{})

Add add log

func (*Manager) SetConfig

func (m *Manager) SetConfig(c common.Config)

SetConfig set manager config

Jump to

Keyboard shortcuts

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