logger

package
v0.0.0-...-ffc2b38 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package logger provides a convenience function to constructing a logger for use. This is required not just for applications but for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfocCtx

func InfocCtx(ctx context.Context, log *slog.Logger, caller int, msg string, args ...any)

func New

func New(service string) *slog.Logger

New constructs a slog Logger that writes to stdout and provides human-readable timestamps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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