no zip compression
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Successful in 42s
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 57s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Failing after 3m5s
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Successful in 2m58s
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Successful in 42s
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Successful in 57s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Failing after 3m5s
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Successful in 2m58s
This commit is contained in:
parent
b9b5aee363
commit
9601c51172
5 changed files with 28 additions and 13 deletions
|
@ -101,6 +101,7 @@ where
|
|||
fn on_event(&self, event: &Event<'_>, _ctx: Context<'_, S>) {
|
||||
let metadata = event.metadata();
|
||||
let level = *metadata.level();
|
||||
let name = metadata.name();
|
||||
let timestamp = SystemTime::now();
|
||||
#[cfg(feature = "json")]
|
||||
let additional_fields = serde_json::Map::new();
|
||||
|
|
|
@ -50,7 +50,7 @@ fn test_logger_sequential_consistency() {
|
|||
log.level, expected_level,
|
||||
"Log {} has incorrect level: {:?}",
|
||||
i, log.level
|
||||
);
|
||||
);
|
||||
|
||||
let expected_msg = match expected_level {
|
||||
Level::ERROR => format!("Error message {}", expected_count),
|
||||
|
@ -61,7 +61,7 @@ fn test_logger_sequential_consistency() {
|
|||
};
|
||||
|
||||
assert_eq!(
|
||||
log.message, expected_msg,
|
||||
log.message, expected_msg,
|
||||
"Log {} has incorrect message. Expected: '{}', Got: '{}'",
|
||||
i, expected_msg, log.message
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue