logger

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomLogger

type CustomLogger struct {
	Log *logrus.Entry
}

func Logger

func Logger() CustomLogger

Logger function

func (*CustomLogger) Debug

func (c *CustomLogger) Debug(msg string)

func (*CustomLogger) Fatal

func (c *CustomLogger) Fatal(msg error)

func (*CustomLogger) Info

func (c *CustomLogger) Info(msg string)

func (*CustomLogger) LogLevel

func (c *CustomLogger) LogLevel(level string)

func (*CustomLogger) Warn

func (c *CustomLogger) Warn(msg string)

Jump to

Keyboard shortcuts

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