log

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(a ...any)

Debug prints a debug message.

func Debugf

func Debugf(format string, a ...any)

Debugf prints a debug message.

func SetDebugFunc

func SetDebugFunc(fn DebugFunc)

SetDebugFunc sets DebugFunc.

func SetWarnFunc

func SetWarnFunc(fn WarnFunc)

SetWarnFunc sets WarnFunc.

func Warn

func Warn(a ...any)

Warn prints a warning.

func Warnf

func Warnf(format string, a ...any)

Warnf prints a warning.

Types

type DebugFunc

type DebugFunc func(string)

DebugFunc is called for debug prints (very verbose).

type WarnFunc

type WarnFunc func(string)

WarnFunc is called on a warning.

Jump to

Keyboard shortcuts

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