hook

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package hook provide a logger wrapper that allow capture the logging method and parameters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hooked

func Hooked(factory logging.Factory, onLog func(meth string, param ...any)) logging.Factory

Hooked creates a new Factory that produces new hooked Logger which can capture method name and parameters once any logging method was called.

Types

This section is empty.

Jump to

Keyboard shortcuts

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