log

package
v8.30.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package log gathers internal logging utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FanOut

func FanOut(handlers ...slog.Handler) slog.Handler

func InitLogger

func InitLogger(handler slog.Handler)

InitLogger initializes the global logger.

func LevelFilter

func LevelFilter(next slog.Handler, level slog.Level) slog.Handler

func Logger

func Logger() *slog.Logger

Logger returns the global logger.

func NewGotenbergHandler

func NewGotenbergHandler(next slog.Handler, prefix string) slog.Handler

func NewStdHandler

func NewStdHandler(level slog.Level, format string, fieldsPrefix string, enableGcpFields bool) (slog.Handler, error)

NewStdHandler returns a slog.Handler instance for the standard output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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