datastore: go.mercari.io/datastore/dsmiddleware/dslog Index | Files

package dslog

import "go.mercari.io/datastore/dsmiddleware/dslog"

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

Package Files

doc.go dslog.go

func NewLogger Uses

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

NewLogger returns with specified logger function.

Package dslog imports 4 packages (graph) and is imported by 4 packages. Updated 2018-05-29. Refresh now. Tools for package owners.