Skip to content

Commit

Permalink
make the LogCollector fields public (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored Apr 27, 2024
1 parent 90bea33 commit 075c790
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions program-runtime/src/log_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use std::{cell::RefCell, rc::Rc};
const LOG_MESSAGES_BYTES_LIMIT: usize = 10 * 1000;

pub struct LogCollector {
messages: Vec<String>,
bytes_written: usize,
bytes_limit: Option<usize>,
limit_warning: bool,
pub messages: Vec<String>,
pub bytes_written: usize,
pub bytes_limit: Option<usize>,
pub limit_warning: bool,
}

impl Default for LogCollector {
Expand Down

0 comments on commit 075c790

Please sign in to comment.