Categorygithub.com/pefish/go-logger
modulepackage
0.6.2
Repository: https://github.com/pefish/go-logger.git
Documentation: pkg.go.dev

# README

go-logger

Description

logger tool

Usage

import "github.com/pefish/go-logger"

go_logger.Logger = go_logger.NewLogger(go_logger.WithIsDebug(env != `prod`))

go_logger.Logger.DebugF(`%#v`, map[string]string{
		`haha`: `11`,
	})
go_logger.Logger.Info(`111`)
go_logger.Logger.WarnF(`%s`, `5636`)
go_logger.Logger.Error(errors.New(`error`))

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author