dslog

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dslog catches the data flowing in the RPC and outputs it to the log. It is mainly used for testing datastore package. I think it's a bit too noisy to use in production environments ;)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(prefix string, logf func(ctx context.Context, format string, args ...interface{})) datastore.Middleware

NewLogger returns with specified logger function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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