log

package
v0.0.0-...-f979f54 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package log provides a global zerolog instance.

Index

Constants

View Source
const (
	StackTraceField = "stacktrace"
	ErrorField      = "error"
	TimeField       = "time"
)

Variables

This section is empty.

Functions

func Debugf

func Debugf(format string, args ...any)

func Errorf

func Errorf(err error, format string, args ...any)

func Infof

func Infof(format string, args ...any)

func Init

func Init(level string, logType string)

func Warnf

func Warnf(format string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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