feat(zlog)!: JSON formatted logging #1

Manually merged
bitsyndicate merged 4 commits from zlog-json into main 2025-04-20 18:26:17 +00:00
Showing only changes of commit 1f94471452 - Show all commits

View file

@ -485,13 +485,8 @@ impl ApplicationHandler for App<'_> {
}
pub fn main() -> Result<(), terminator::Terminator> {
let config = LoggerConfig::default()
.colored_stdout(false)
.log_to_stdout(false)
.log_use_json(true)
.log_json_show_timestamp(true)
.log_json_show_level(true)
.log_json_show_message(true)
.log_json_show_additional_fields(true)
.colored_stdout(true)
.log_to_stdout(true)
.file_include_time(true)
.log_to_file(true)
.level(LogLevel::Info)