Skip to content

Commit

Permalink
Update logger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Sep 29, 2023
1 parent 2b64a63 commit b0bfb1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/optimiser/taso/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ impl<'w> TasoLogger<'w> {
}
}

/// Internal function to log general events, normally printed to stdout.
/// Log general events, normally printed to stdout.
#[inline]
pub fn log(&self, msg: impl AsRef<str>) {
tracing::info!(target: LOG_TARGET, "{}", msg.as_ref());
}

/// Internal function to log information on the progress of the optimization.
/// Log verbose information on the progress of the optimization.
#[inline]
pub fn progress(&self, msg: impl AsRef<str>) {
tracing::info!(target: PROGRESS_TARGET, "{}", msg.as_ref());
Expand Down

0 comments on commit b0bfb1a

Please sign in to comment.