Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogstashFormatter ¶
type LogstashFormatter struct { //Type of the fields Type string // if not empty use for logstash type field. //Env is the environment on which the application is running Env string //ServiceName will be by default guble ServiceName string //ApplicationType will be by default "service". Other values could be "service", "system", "appserver", "webserver" ApplicationType string //LogType will be by default application. Other possible values "access", "error", "application", "system" LogType string //TimestampFormat sets the format used for timestamps. TimestampFormat string }
LogstashFormatter generates json in logstash format. Logstash site: http://logstash.net/
Click to show internal directories.
Click to hide internal directories.