rust/log: clarify comment in non-debug mode SCLogDebug

pull/5575/head
Jason Ish 5 years ago committed by Victor Julien
parent a453d28bc6
commit 2f81f3fbe9

@ -160,8 +160,10 @@ macro_rules!SCLogDebug {
} }
} }
// Release mode: ignore arguments // SCLogDebug variation to use when not compiled with debug support.
// Use a reference to avoid moving values. //
// This macro will only use the parameters passed to prevent warnings
// about unused variables, but is otherwise the equivalent to a no-op.
#[cfg(not(feature = "debug"))] #[cfg(not(feature = "debug"))]
#[macro_export] #[macro_export]
macro_rules!SCLogDebug { macro_rules!SCLogDebug {

Loading…
Cancel
Save