requestlog

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAndEnableRequestLogging

func ConfigureAndEnableRequestLogging(file string) error

func EnableRequestLogging

func EnableRequestLogging(enable bool)

EnableRequestLogging enables or disables RPC logging

func GetRequestLogger

func GetRequestLogger() log.Logger

GetRequestLogger returns the RPC logger object

func IsRequestLoggingEnabled

func IsRequestLoggingEnabled() bool

IsRequestLoggingEnabled returns whether RPC logging is enabled

func NewRequestLogger

func NewRequestLogger(ctx ...interface{}) log.Logger

NewRequestLogger creates a new request logger object

Types

This section is empty.

Jump to

Keyboard shortcuts

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