Skip to main content

LOG_FORMAT

Constant LOG_FORMAT 

Source
pub const LOG_FORMAT: &str = "LOG_FORMAT";
Expand description

Worker variable choosing the line format: json or text.

Unset: text in debug builds (ocre dev), json in release builds.

ยงExamples

assert_eq!(ocre::log::LOG_FORMAT, "LOG_FORMAT");