logger

package module
v0.0.0-...-0afd8f6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 10 Imported by: 1

README

logger

logger is a wrapper on top of logrus

How to use

go get github.com/csturiale/logger

logger.Info("my.log")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

Debug ...

func Debugf

func Debugf(format string, v ...interface{})

Debugf ...

func Error

func Error(v ...interface{})

Error ...

func Errorf

func Errorf(format string, v ...interface{})

Errorf ...

func Fatal

func Fatal(v ...interface{})

Fatal ...

func Fatalf

func Fatalf(format string, v ...interface{})

Fatalf ...

func GetInstance

func GetInstance() *zap.SugaredLogger

func Info

func Info(v ...interface{})

Info ...

func Infof

func Infof(format string, v ...interface{})

Infof ...

func Trace

func Trace(v ...interface{})

Trace ...

func Tracef

func Tracef(format string, v ...interface{})

Tracef ...

func Warn

func Warn(v ...interface{})

Warn ...

func Warnf

func Warnf(format string, v ...interface{})

Warnf ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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