slog

package
v1.7.13 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package slog provides a compatibility layer until g1.20 is out of maintenance.

Index

Constants

This section is empty.

Variables

View Source
var (
	LevelInfo  = goslog.LevelInfo
	LevelWarn  = goslog.LevelWarn
	LevelError = goslog.LevelError

	Default    = goslog.Default
	String     = goslog.String
	Uint64     = goslog.Uint64
	Int64      = goslog.Int64
	Any        = goslog.Any
	GroupValue = goslog.GroupValue
)

Alias definitions for exp/slog.

Functions

This section is empty.

Types

type Attr

type Attr = goslog.Attr

Attr is a type aliases for exp/slog/Attr.

type Logger

type Logger = goslog.Logger

Logger is a type aliases for exp/slog/Logger.

type Value

type Value = goslog.Value

Value is a type aliases for exp/slog/Value.

Jump to

Keyboard shortcuts

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