logger

package
v6.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package logger defines logging interfaces for RoadRunner plugins. The Named interface provides NamedLogger for obtaining a log/slog.Logger scoped to a specific plugin or component name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Named

type Named interface {
	// NamedLogger returns a named logger with the specified name.
	NamedLogger(name string) *slog.Logger
}

Named interface provides methods for obtaining a named logger scoped to a specific plugin or component.

Jump to

Keyboard shortcuts

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