Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func GetLogger() *logging.Logger
- func GetLogs(c int, level string) []string
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func InitLogger(level logging.Level)
- func NewZapForwarder(name string) *zap.Logger
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func NewZapForwarder ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.