logging

package
v6.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 0 Imported by: 13

Documentation

Overview

Package logging provides types for logging levels used in the pop package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int

Level is the logger level

const (
	// SQL level is the lowest logger level. It dumps all logs.
	SQL Level = iota
	// Debug level dumps logs with higher or equal severity than debug.
	Debug
	// Info level dumps logs with higher or equal severity than info.
	Info
	// Warn level dumps logs with higher or equal severity than warning.
	Warn
	// Error level dumps logs only errors.
	Error
)

func (Level) String

func (l Level) String() string

Jump to

Keyboard shortcuts

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