prettyprint

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogfJSON

func LogfJSON(fn LoggingFunc, obj interface{}, message string, args ...interface{})

LogfJSON logs the JSON representation of an object using the specified log function.

func LogfSpew

func LogfSpew(fn LoggingFunc, obj interface{}, message string, args ...interface{})

LogfSpew logs a prettified string representation of an object using the specified log function.

Types

type LoggingFunc

type LoggingFunc func(string, ...interface{})

LoggingFunc represents a logging function accepting formatting arguments.

Jump to

Keyboard shortcuts

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