mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
log-server: unconditionally enable logging
If users are including the `log-server` crate, then they probably want logging regardless of what features are enabled. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
322051e8c1
commit
2e4b38a2f1
1 changed files with 1 additions and 3 deletions
|
|
@ -40,9 +40,7 @@ impl XousLoggerBacking {
|
||||||
}
|
}
|
||||||
if let Some(ref mut buf) = self.buffer {
|
if let Some(ref mut buf) = self.buffer {
|
||||||
buf.clear();
|
buf.clear();
|
||||||
if cfg!(feature="logging") {
|
write!(buf, "{} - {}", record.level(), record.args()).unwrap();
|
||||||
write!(buf, "{} - {}", record.level(), record.args()).unwrap();
|
|
||||||
}
|
|
||||||
buf.lend(self.conn, 1).unwrap();
|
buf.lend(self.conn, 1).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue