package
0.0.0-20190611103818-411a92d8c081
Repository: https://github.com/quons/go-gin-example.git
Documentation: pkg.go.dev
# Functions
NewFilterHook makes a new hook which does not forward to logstash, but simply enforces the prefix rules.
NewFilterHookWithPrefix make a new hook which does not forward to logstash, but simply enforces the specified prefix.
NewHook creates a new hook to a Logstash instance, which listens on `protocol`://`address`.
NewHookWithConn creates a new hook to a Logstash instance, using the supplied connection.
NewHookWithFields creates a new hook to a Logstash instance, which listens on `protocol`://`address`.
NewHookWithFieldsAndConn creates a new hook to a Logstash instance using the supplied connection.
NewHookWithFieldsAndConnAndPrefix creates a new hook to a Logstash instance using the suppolied connection and prefix.
NewHookWithFieldsAndPrefix creates a new hook to a Logstash instance, which listens on `protocol`://`address`.
# Structs
Hook represents a connection to a Logstash instance.
Formatter generates json in logstash format.