logger

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logger provides structured logging utilities for the ephemeral files CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(logLevel string) *slog.Logger

NewLogger creates a new logger logLevel is the level of logging Possible values of logLevel are: "debug", "info", "warn", "error" Default value is "info".

func NoLogger

func NoLogger() *slog.Logger

NoLogger creates a logger that does not log anything.

Types

This section is empty.

Jump to

Keyboard shortcuts

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