global

package module
v0.0.0-...-ea3c94a Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug exports the logs Debug connected to our global log

func Init

func Init() error

Init sets up the logger intially if run multiple times, it returns an error

func SetLog

func SetLog(l *logrus.Logger)

SetLog sets the log

func UseLog

func UseLog() error

UseLog demonstrates using our global log

func WithField

func WithField(key string, value interface{}) *logrus.Entry

WithField exports the logs withfield connected to our global log

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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