Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init creates a connection with the syslog server. It returns a cleanup function meant to be called when resources can be released. As in:
cleanup := log.Init() defer cleanup()
func Spit ¶
Spit will send given format and values through the log channel. It does nothing if log is deactivated. It does nothing if `Init` was not called first.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.