std

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

std provides adapters for the standard library's "log" package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(logger log.Logger, level log.Level) *stdlog.Logger

NewLogger creates a standard library logger that writes to logger at the designated level. This is useful for providing loggers to libraries that only accept the standard library logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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