package
Version:
v0.0.0-...-8bbd0fc
Opens a new window with list of versions in this module.
Published: Jun 23, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Println(logType, message string, args ...interface{})
Println creates json formatted log for use in logstash
type Info struct {
Host string `json:"host"`
Message string `json:"message"`
Errors []string `json:"errors"`
Time time.Time `json:"time"`
LogType string `json:"type"`
}
Info defines the json structure for the log
Source Files
¶
Click to show internal directories.
Click to hide internal directories.