logger

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

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