log-server: use try_ calls

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-08-30 17:41:15 +08:00
parent 60e652bd51
commit b6f1bf2079

View file

@ -196,8 +196,7 @@ mod implementation {
}
fn reader_thread(mut output: implementation::OutputWriter) {
writeln!(output, "Xous Logging Server starting up...").unwrap();
// std::thread::sleep(std::time::Duration::from_secs(1));
writeln!(output, "LOG: Xous Logging Server starting up...").unwrap();
writeln!(output, "LOG: Starting log server...").unwrap();
let server_addr = xous::create_server(b"xous-logs-output").unwrap();