Switch from error! and println! to warn!, and set the default log level to warn on debug builds.

This commit is contained in:
Bobby Holley 2017-02-14 16:48:35 -08:00
parent d7d6979144
commit ae87b8a910
6 changed files with 26 additions and 26 deletions

View file

@ -471,7 +471,7 @@ impl RuleNode {
}
None => {
if indent != 0 {
error!("How has this happened?");
warn!("How has this happened?");
}
let _ = write!(writer, "(root)");
}