datastore: Index | Files

package dslog

import ""

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 ;)


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 8 packages. Updated 2019-12-13. Refresh now. Tools for package owners.