logging

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64 added in v0.5.0

func Base64(b []byte) fmt.Stringer

func Identifier added in v0.5.0

func Identifier(f any) fmt.Stringer

func Keys added in v0.5.0

func Keys[K comparable, V any](m map[K]V) fmt.Stringer

func Prefix added in v0.5.0

func Prefix(id string) fmt.Stringer

func Printable added in v0.5.0

func Printable(id string) fmt.Stringer

Types

type Logger

type Logger = logging.Logger

Logger provides logging API

func DeriveDriverLogger

func DeriveDriverLogger(logger Logger, prefix string, networkID string, channel string, namespace string) Logger

func DriverLogger

func DriverLogger(prefix string, networkID string, channel string, namespace string) Logger

func DriverLoggerFromPP

func DriverLoggerFromPP(prefix string, id string) Logger

func GetLogger added in v0.5.0

func GetLogger(params ...string) (Logger, error)

func MustGetLogger

func MustGetLogger(params ...string) Logger

type MockLogger added in v0.5.0

type MockLogger = logging.MockLogger

Jump to

Keyboard shortcuts

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