log

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger, _ = log.Init(
	&cfgstructs.Logs{
		Level:   "debug",
		Format:  "text",
		Colored: true,
		Caller:  cfgstructs.CallerConfig{Show: true, SkipFrames: 1},
		Sentry:  nil,
	},
	"unknown",
	"uptimeMaster",
	"unknown",
	os.Stdout,
)

Functions

func Debug

func Debug() *log.Event

func Error

func Error() *log.Event

func GetLogger

func GetLogger() *zap.Logger

func Info

func Info() *log.Event

func Init

func Init(cfg contracts.LogsCfgInterface, stage, serviceAlias, serviceVersion string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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