logger

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLogger added in v0.22.0

func AccessLogger() io.Writer

AccessLogger returns the shared access log writer. Both the main server and the admin API server should use this as the output for their fiber logger middleware so that MustUpdateAccessLogger swaps the underlying writer for both at once.

func DebugEnabled

func DebugEnabled() bool

func Init

func Init()

Init initializes the logger

func MustGetAccessLogger

func MustGetAccessLogger() io.Writer

MustGetAccessLogger open the server access logger; on failure the program exits

func MustUpdateAccessLogger

func MustUpdateAccessLogger()

MustUpdateAccessLogger updates the writer of the access logger

func SetOutput

func SetOutput()

SetOutput sets the logging output

Types

This section is empty.

Jump to

Keyboard shortcuts

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