logging

package
v0.20.7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpConfig

type HttpConfig interface {
	Logger() func(http.Handler) http.Handler
}

type Log added in v0.20.0

type Log interface {
	Info(ctx context.Context, msg string, fields ...any)
	Warn(ctx context.Context, msg string, fields ...any)
	Err(ctx context.Context, msg string, fields ...any)
}

type RpcConfig

type RpcConfig interface {
	UnaryInterceptor() grpc.UnaryServerInterceptor
	StreamInterceptor() grpc.StreamServerInterceptor
	PanicUnaryInterceptor() grpc.UnaryServerInterceptor
	PanicStreamInterceptor() grpc.StreamServerInterceptor
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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