logging

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

Package logging provides a logger and related methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v1.14.0

func Close() error

Close closes the logger file if it was opened.

func GetLogger

func GetLogger() (*slog.Logger, error)

GetLogger retrieves an instance of an application logger which outputs to a file if the debug flag is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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