logging

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package logging builds runakefli's go-kit logger from Loki's server.log_level and server.log_format keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(w io.Writer, lvl dskitlog.Level, format string) (log.Logger, error)

New returns a goroutine-safe logger writing to w in format ("logfmt" or "json"), dropping messages below lvl, with a UTC timestamp and caller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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