pm_logging

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLogDecider

func DefaultLogDecider(_ *pm.SubscriptionInfo, _ error) bool

DefaultLogDecider is the default implementation of decider to see if you should log the call by default this if always true so all processing are logged

func DurationToMilliseconds added in v0.1.3

func DurationToMilliseconds(duration time.Duration) float32

Types

type LogDecider

type LogDecider func(info *pm.SubscriptionInfo, err error) bool

LogDecider function defines rules for suppressing any interceptor logs

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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