logging

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoLogger = NoLog{}

NoLogger is a default no-op logger instance

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(format string, args ...interface{})
	Info(format string, args ...interface{})
	Warn(format string, args ...interface{})
	Error(format string, args ...interface{})
	Fatal(format string, args ...interface{})
}

Logger defines the logging interface used by database packages

type NoLog

type NoLog struct{}

NoLog is a no-op logger implementation

func (NoLog) Debug

func (NoLog) Debug(format string, args ...interface{})

func (NoLog) Error

func (NoLog) Error(format string, args ...interface{})

func (NoLog) Fatal

func (NoLog) Fatal(format string, args ...interface{})

func (NoLog) Info

func (NoLog) Info(format string, args ...interface{})

func (NoLog) Warn

func (NoLog) Warn(format string, args ...interface{})

Jump to

Keyboard shortcuts

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