logging

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package logging configures a zerolog logger: colored console output on a TTY, structured JSON otherwise (systemd / Docker log drivers).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level string, forceJSON bool) zerolog.Logger

New returns a configured logger. level is one of trace/debug/info/warn/error. forceJSON disables the pretty console writer even on a TTY.

Types

This section is empty.

Jump to

Keyboard shortcuts

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