drpcdebug

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 0 Imported by: 0

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.

Documentation

Overview

Package drpcdebug provides helpers for debugging.

Index

Constants

View Source
const Enabled = enabled

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

Variables

This section is empty.

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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