Skip to content

Commit

Permalink
feat: add method to enable logging in Summary
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
  • Loading branch information
simonsan committed Nov 25, 2024
1 parent a437de4 commit 8e13aa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/core/src/error/summary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ impl Summary {
self.end_time = Some(Instant::now());
}

pub fn enable_log(&mut self) {
self.log_enabled = true;
}

pub fn add_error(
&mut self,
scope: IssueScope,
Expand Down

0 comments on commit 8e13aa9

Please sign in to comment.