mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 03:33:53 +00:00
downgrade push/pop history log messages from debug to trace
This commit is contained in:
parent
a06380946c
commit
9f3ed45500
@ -196,7 +196,7 @@ impl GossipUi {
|
||||
|
||||
fn set_page(&mut self, page: Page) {
|
||||
if self.page != page {
|
||||
tracing::debug!("PUSHING HISTORY: {:?}", &self.page);
|
||||
tracing::trace!("PUSHING HISTORY: {:?}", &self.page);
|
||||
self.history.push(self.page.clone());
|
||||
self.set_page_inner(page);
|
||||
}
|
||||
@ -204,10 +204,10 @@ impl GossipUi {
|
||||
|
||||
fn back(&mut self) {
|
||||
if let Some(page) = self.history.pop() {
|
||||
tracing::debug!("POPPING HISTORY: {:?}", &page);
|
||||
tracing::trace!("POPPING HISTORY: {:?}", &page);
|
||||
self.set_page_inner(page);
|
||||
} else {
|
||||
tracing::debug!("HISTORY STUCK ON NONE");
|
||||
tracing::trace!("HISTORY STUCK ON NONE");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user