logs to client_api

This commit is contained in:
John Smith 2021-12-10 22:04:38 -05:00
parent 7e8eb0c57d
commit 43fd315932
6 changed files with 48 additions and 37 deletions

View file

@ -277,6 +277,10 @@ debug - send a debugging command to the Veilid server
self.inner_mut().ui.set_attachment_state(state);
}
pub fn add_log_message(&mut self, message: &str) {
self.inner().ui.add_node_event(message);
}
// called by client_api_connection
// calls into ui
////////////////////////////////////////////