package
0.0.34
Repository: https://github.com/storj/drpc.git
Documentation: pkg.go.dev

# README

package drpcdebug

import "storj.io/drpc/drpcdebug"

Package drpcdebug provides helpers for debugging.

Usage

const Enabled = enabled

Enabled is a constant describing if logs are enabled or not.

func Log

func Log(cb func() (who, what, why string))

Log executes the callback for a string to log if built with the debug tag.