logger

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logger provides the basic functionality of supplying a custom logger.

gost-dom will write log messages to an slog.Logger instance, but the default logger discards all messages. You can provide your own logger, allowing control over where log messages appear.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefault

func SetDefault(logger *slog.Logger)

SetDefault sets the slog.Logger that will receive log messages from the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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