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.
Click to show internal directories.
Click to hide internal directories.