putting logger back
This commit is contained in:
parent
1b2b9f899d
commit
0ef74d89cb
|
@ -12,6 +12,9 @@ fn main() {
|
||||||
hblang::run_compiler(file, opts, out)
|
hblang::run_compiler(file, opts, out)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log::set_logger(&hblang::fs::Logger).unwrap();
|
||||||
|
log::set_max_level(log::LevelFilter::Error);
|
||||||
|
|
||||||
let mut out = Vec::new();
|
let mut out = Vec::new();
|
||||||
match run(&mut out) {
|
match run(&mut out) {
|
||||||
Ok(_) => std::io::stdout().write_all(&out).unwrap(),
|
Ok(_) => std::io::stdout().write_all(&out).unwrap(),
|
||||||
|
|
Loading…
Reference in a new issue