You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ngx-rust doesn't provide a full set of convenience macros for logging.
We support specific debug logging, but for other logging the user still needs to call the C FFI functions themselves. Needing to provide unnecessary arguments, e.g., in the upstream.rs module example:
ngx_conf_log_error(
NGX_LOG_EMERG as usize,
cf,
0,
"CUSTOM UPSTREAM no upstream srv_conf".as_bytes().as_ptr() as *const i8,
);
This can be simplified with a corresponding macro like we do for ngx_log_debug!.
The text was updated successfully, but these errors were encountered:
ngx-rust doesn't provide a full set of convenience macros for logging.
We support specific debug logging, but for other logging the user still needs to call the C FFI functions themselves. Needing to provide unnecessary arguments, e.g., in the upstream.rs module example:
This can be simplified with a corresponding macro like we do for
ngx_log_debug!
.The text was updated successfully, but these errors were encountered: