feat: Add more debug logging to PDU handle funcs

Tracking down weird soft-fails
This commit is contained in:
timedout committed 2026-07-11 17:27:42 +01:00
1 parent 64a08262ca
commit e16a62e1ed
6 files changed
+51 -23

No files matched your search

+8
View File
@@ -149,6 +149,14 @@ macro_rules! err_log {
#[macro_export]
#[collapse_debuginfo(yes)]
macro_rules! err_lev {
(debug_info) => {
if $crate::debug::logging() {
$crate::tracing::Level::INFO
} else {
$crate::tracing::Level::DEBUG
}
};
(debug_warn) => {
if $crate::debug::logging() {
$crate::tracing::Level::WARN