logger

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: GPL-3.0 Imports: 8 Imported by: ? 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func GetLogger

func GetLogger() *logging.Logger

func GetLogs

func GetLogs(c int, level string) []string

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func InitLogger

func InitLogger(level logging.Level)

func NewZapForwarder

func NewZapForwarder(name string) *zap.Logger

NewZapForwarder returns a *zap.Logger whose entries are forwarded into the panel's in-memory log buffer (the same one surfaced by the UI "Logs" view), mapping zap levels onto the panel logger. It lets libraries that log via zap (e.g. certmagic / ACME) show up in the panel logs. Entries below Info are dropped so certmagic's verbose debug output cannot flood the buffer.

func Warning

func Warning(args ...interface{})

func Warningf

func Warningf(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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