log

package
v0.0.0-...-b9b4979 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	// Debug logs a message with Debug level.
	Debug(v ...interface{})
	// Info logs a message with Info level.
	Info(v ...interface{})
}

Logger is a logger with simple interface. It supports two log levels: Debug and Release. On Release mode messages will be printed only with Info level.

func New

func New() Logger

New creates a new logger using the default configuration.

Jump to

Keyboard shortcuts

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