log

package
v0.0.0-...-6215b59 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package log provides a systemd/syslog logger that prefixes go-kit log lines with the appropriate syslog priority level, so log levels are picked up correctly by the journal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSystemdLogger

func NewSystemdLogger(w io.Writer, logfmt func(io.Writer) log.Logger) log.Logger

NewSystemdLogger returns a new Logger which prefixes logs with the systemd/syslog priority. The body of the log message is the formatted output from the Logger returned by logfmt.

Types

This section is empty.

Jump to

Keyboard shortcuts

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