simplelog

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MPL-2.0 Imports: 3 Imported by: 3 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package simplelog contains a very simple interface for logging strings at either Debug, Info, or Error levels

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(string)
	Info(string)
	Error(string)
}

func FromCmdLog

func FromCmdLog(cl *cmdlog.Logger) Logger

func FromLibLog

func FromLibLog(ctx context.Context) Logger

func Make

func Make(logDebug, logInfo, logError *func(string)) Logger

Jump to

Keyboard shortcuts

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