logcontrol.rs
Types and implementations for systemd's logcontrol interface.
This interface provides means to change logging behaviour of system services at runtime, over D-Bus, or via systemctl service-log-level
or systemctl service-log-target
.
This repository provides a collection of traits of basic types and implementations of this interface:
logcontrol
contains the basic types and defines an abstract trait for the interface.logcontrol-tracing
provides a logcontrol backend implementation for thetracing
library.logcontrol-log
provides a logcontrol backend implementation for thelog
library.logcontrol-zbus
provides a DBus interface implementation forzbus
DBus framework.
Usage
$ cargo add logcontrol-tracing
$ cargo add logcontrol-zbus
use Error;
use Duration;
use ;
use ;
use ;
use *;
use Registry;
use ConnectionBuilder;
async