Versions in this module Expand all Collapse all v0 v0.1.0 Jan 18, 2023 Changes in this version + func NewSockrus(config Config) (*logrus.Logger, *logrus.Entry) + type Config struct + AddNewLine bool + Hostname string + LogLevel logrus.Level + Service string + SocketAddr string + SocketProtocol string + type Hook struct + func NewHook(protocol, address string, addNewline bool) (*Hook, error) + func (h *Hook) Fire(entry *logrus.Entry) error + func (h *Hook) Levels() []logrus.Level