Crates.io | satlog |
lib.rs | satlog |
version | 0.2.1 |
source | src |
created_at | 2023-04-21 10:04:47.276497 |
updated_at | 2023-04-29 09:02:53.691509 |
description | A logger for SAT-like solvers |
homepage | https://sr.ht/~vigoux/satlog.rs/ |
repository | https://git.sr.ht/~vigoux/satlog.rs |
max_upload_size | |
id | 845169 |
size | 9,634 |
satlog.rs
: Simple logger for SAT-like solversThis outputs logs to stdout
as DIMACS
comments:
c WARN: ...
c ERR: ...
For Level::Info
messages, the level is not printed: this allows to
have a quiet mode for the solver by setting the level filter to
LevelFilter::Off
.
use satlog::SatLogger;
use log::LevelFilter;
fn main() {
SatLogger::init(LevelFilter::Info);
}