logutils

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level string, file string) (zerolog.Logger, func(), error)

New returns a new logger that writes JSON to the specified file. If file is empty, logs are written to stdout.

The level parameter can be one of: debug, info, warn, error, fatal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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