Documentation ¶
Overview ¶
Package log can be used for structured (JSON) logging
Deprecated: this package has been frozen and deprecated in favor of github.com/moorara/observe/log
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(kv ...interface{}) error
Debug logs a debug-level event using singleton logger
func Error ¶
func Error(kv ...interface{}) error
Error logs an error-level event using singleton logger
func SetOptions ¶ added in v0.2.4
func SetOptions(opts Options)
SetOptions set optional options for singleton logger
Types ¶
Click to show internal directories.
Click to hide internal directories.