Skip to main content

LOG_BUFFER_SIZE

Constant LOG_BUFFER_SIZE 

Source
pub const LOG_BUFFER_SIZE: usize = 256;
Expand description

Fixed capacity, in bytes, of the stack-allocated buffer the log_*! macros format each message into. Longer messages are truncated by crate::utils::Bytes.

ยงExamples

use osal_rs::log::LOG_BUFFER_SIZE;

assert_eq!(LOG_BUFFER_SIZE, 256);