1 2 3 4 5 6 7 8 9 10 11 12 13 14
// SPDX-License-Identifier: GPL-3.0-or-later //go:build linux package logger import ( "github.com/coreos/go-systemd/v22/journal" ) func isStderrConnectedToJournal() bool { ok, _ := journal.StderrIsJournalStream() return ok }