internal

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// internal error used in case an input parameter was invalid.
	InvalidParamErr = errors.New("invalid parameter")

	// internal error used in case a feature still in development was already used.
	NotSupportedErr = errors.New("not supported")
)

Functions

This section is empty.

Types

type Logger

type Logger struct{}

Logger is the builtin implementation of the Logger interface, and logs error messages to the STDERR, but ignores debug messages.

func (Logger) Debug

func (stdl Logger) Debug(args ...interface{})

Debug implements Logger::Debug

func (Logger) Debugf

func (stdl Logger) Debugf(template string, args ...interface{})

Debugf implements Logger::Debugf

func (Logger) Error

func (stdl Logger) Error(args ...interface{})

Error implements Logger::Error

func (Logger) Errorf

func (stdl Logger) Errorf(template string, args ...interface{})

Errorf implements Logger::Errorf

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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