Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = log.New()
Functions ¶
func LogCachedQuery ¶ added in v0.5.0
func LogCachedQuery(method string)
LogCachedQuery logs a cache hit for a given method
func LogFailedQuery ¶
func LogFailedQuery(method string, query interface{}, error interface{})
LogFailedQuery takes a method name, query params, response error object and logs it
func LogSuccessfulQuery ¶
LogSuccessfulQuery takes a remote method name and execution time and logs it
func SetupLogging ¶ added in v0.5.0
func SetupLogging()
SetupLogging initializes and sets a few parameters for the logging subsystem
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.