sudo dpkg -i logram_..._amd64.deb
echo_id
mode: logram echo_id --token=...
/etc/logram.yaml
sudo systemctl start logram
sudo systemctl enable logram
log
logram
as library
toml
[dependencies]
logram = "1.2"
fn main() { logram::init( "bot token".tostring(), "chat id".tostring(), Level::Error, ) .unwrap();
error!("error");
}
``
Limitations: log records with target starts with
tokio_reactor, hyper, mio, want or reqwest` will be skipped, because limitations in log.