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

@ -103,7 +103,7 @@ impl From<nsRestyleHint> for RestyleHint {
// FIXME(bholley): Finish aligning the binary representations here and
// then .expect() the result of the checked version.
if Self::from_bits(raw_bits).is_none() {
error!("stylo: dropping unsupported restyle hint bits");
warn!("stylo: dropping unsupported restyle hint bits");
}
Self::from_bits_truncate(raw_bits)