logger

package
v0.0.0-...-bddae19 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENV_LOGGING_LEVEL = "LOGGING_LEVEL"
	ENV_SERVICE_NAME  = "SERVICE_NAME"
)

Variables

View Source
var ZapBasicLogger *zap.Logger

Functions

func Debug

func Debug(msg string, ctx context.Context, fields map[string]interface{})

func Error

func Error(msg string, ctx context.Context, fields map[string]interface{})

func Info

func Info(msg string, ctx context.Context, fields map[string]interface{})

func Init

func Init(trackingFieldKeysReq []string)

Init overrides the base init if required for OS Environment & Exclusion

func InitBasic

func InitBasic()

func Warn

func Warn(msg string, ctx context.Context, fields map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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