zerologger

package
v0.2.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

LogLevelMap maps zerolog levels to Graylog (Syslog) levels.

Functions

func ConvertZerologLevelToGraylog

func ConvertZerologLevelToGraylog(level string) int

ConvertZerologLevelToGraylog converts a zerolog level to the equivalent Graylog (Syslog) level.

func ProcessZerologFields

func ProcessZerologFields(fields map[string]interface{}) (int, float64, []byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL