utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package utils holds small shared helpers, currently the process-wide zap logger.

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Logger is the process-wide logger; use GetLogger instead of reading it directly.

Functions

func GetLogger

func GetLogger() *zap.Logger

GetLogger returns the global logger instance

func InitLogger

func InitLogger(development bool) error

InitLogger initializes the global logger: debug-level development output when development is set, otherwise warnings only, as plain console lines. Errors are returned to the CLI, which reports them itself.

Types

This section is empty.

Jump to

Keyboard shortcuts

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