logger

package
v0.0.0-...-d2cdecb Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	// contains filtered or unexported fields
}

func New

func New(prefix string) *Log

func (*Log) CustomDebug

func (l *Log) CustomDebug(title string, message interface{}, options ...*Options)

func (*Log) CustomError

func (l *Log) CustomError(title string, message interface{}, options ...*Options)

func (*Log) CustomLog

func (l *Log) CustomLog(title string, message interface{}, options ...*Options)

func (*Log) CustomPanic

func (l *Log) CustomPanic(title string, message interface{}, options ...Options)

func (*Log) Debug

func (l *Log) Debug(message interface{}, options ...*Options)

func (*Log) Error

func (l *Log) Error(message interface{}, options ...*Options)

func (*Log) Log

func (l *Log) Log(message interface{}, options ...*Options)

func (*Log) Panic

func (l *Log) Panic(message interface{}, options ...Options)

type Options

type Options struct {
	IsPrintStack bool
	IsExit       bool
	ExitCode     int
}

Jump to

Keyboard shortcuts

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