logger

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, field ...zap.Field)

func Error

func Error(msg string, field ...zap.Field)

func Fatal

func Fatal(msg string, field ...zap.Field)

func Info

func Info(msg string, field ...zap.Field)

func Init

func Init(debug bool)

Init The configuration must be initialized before the run log module goes

func Panic

func Panic(msg string, field ...zap.Field)

func Warn

func Warn(msg string, field ...zap.Field)

Types

type NsqLogger

type NsqLogger struct{}

func (NsqLogger) Output

func (l NsqLogger) Output(calldepth int, s string) error

Jump to

Keyboard shortcuts

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