logger

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logger provides structured logging configuration for the scaler.

It creates slog.Logger instances configured according to the scaler's Config, supporting both text and JSON output formats, and configurable log levels (debug, info, warn, error).

The logger uses Go's standard library slog package for structured logging, ensuring consistent log output across the scaler service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *config.Config) *slog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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