log

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package log

Copyright © 2023 zcubbs https://github.com/zcubbs

Index

Constants

View Source
const (
	LevelTrace = iota
	LevelDebug
	LevelInfo
	LevelWarn
	LevelError
	LevelFatal
	LevelPanic
)

Variables

This section is empty.

Functions

func Debugw

func Debugw(msg string, args M)

func Errorw

func Errorw(msg string, args M)

func Fatalw

func Fatalw(msg string, args M)

func Infow

func Infow(msg string, args M)

func SetLevel

func SetLevel(level Level)

func Tracew

func Tracew(msg string, args M)

func Warnw

func Warnw(msg string, args M)

Types

type Level

type Level uint32

type M

type M map[string]any

Jump to

Keyboard shortcuts

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