macro_rules! ngx_log_debug_mask {
( DebugMask::Core, $log:expr, $($arg:tt)+ ) => { ... };
( DebugMask::Alloc, $log:expr, $($arg:tt)+ ) => { ... };
( DebugMask::Mutex, $log:expr, $($arg:tt)+ ) => { ... };
( DebugMask::Event, $log:expr, $($arg:tt)+ ) => { ... };
( DebugMask::Http, $log:expr, $($arg:tt)+ ) => { ... };
( DebugMask::Mail, $log:expr, $($arg:tt)+ ) => { ... };
( DebugMask::Stream, $log:expr, $($arg:tt)+ ) => { ... };
}
Expand description
Log with requested debug mask.
NOTE: This macro supports DebugMask::Http
(NGX_LOG_DEBUG_HTTP
), however, if you have
access to a Request object via an http handler it can be more convenient and readable to use
the ngx_log_debug_http
macro instead.
See https://nginx.org/en/docs/dev/development_guide.html#logging for details and available masks.