logger

package
v0.0.0-...-2068963 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 4 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 NewLog

func NewLog(prefix string) *Log

func (*Log) CustomError

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

func (*Log) Error

func (l *Log) Error(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