journald

package
v0.0.0-...-cd2df2e Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package journald

Index

Constants

View Source
const (
	ThreadFieldName = "thread"
)

Variables

This section is empty.

Functions

func GetGID

func GetGID() uint64

GetGID gets the current goroutine ID (copied from https://blog.sgmansfield.com/2015/12/goroutine-ids/)

func NewBetterJournaldWriter

func NewBetterJournaldWriter() zerolog.LevelWriter

Types

type ThreadHook

type ThreadHook struct {
}

func (ThreadHook) Run

func (t ThreadHook) Run(e *zerolog.Event, _ zerolog.Level, _ string)

Jump to

Keyboard shortcuts

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