simplelog

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 3 Imported by: 1

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