Documentation ¶
Overview ¶
Package logging implements basic logging routine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestsLogger ¶
RequestsLogger is net/http middleware which logs incoming requests and responses.
func Setup ¶
func Setup(debug bool)
Setup initializes new logger to be used across packages of the project.
func UnaryRequestsInterceptor ¶
func UnaryRequestsInterceptor( ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (any, error)
UnaryRequestsInterceptor is grpc unary interceptor which logs incoming requests and responses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.