nxt_log.h (63:b79fe37d9f24) nxt_log.h (122:d18727e877c6)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_LOG_H_INCLUDED_
8#define _NXT_LOG_H_INCLUDED_

--- 108 unchanged lines hidden (view full) ---

117 nxt_log_t *_log_ = (_log); \
118 \
119 if (nxt_slow_path(_log_->level == NXT_LOG_DEBUG || nxt_debug)) { \
120 _log_->handler(NXT_LOG_DEBUG, _log_, __VA_ARGS__); \
121 } \
122 } while (0)
123
124
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_LOG_H_INCLUDED_
8#define _NXT_LOG_H_INCLUDED_

--- 108 unchanged lines hidden (view full) ---

117 nxt_log_t *_log_ = (_log); \
118 \
119 if (nxt_slow_path(_log_->level == NXT_LOG_DEBUG || nxt_debug)) { \
120 _log_->handler(NXT_LOG_DEBUG, _log_, __VA_ARGS__); \
121 } \
122 } while (0)
123
124
125#define nxt_debug_alloc(...)
125#define nxt_debug_alloc(_fmt, ARGS...) \
126 nxt_thread_log_debug("%08p: " _fmt, mp, ##ARGS)
126
127#else
128
129#define nxt_debug(...)
130#define nxt_debug_alloc(...)
131
132#define \
133nxt_log_debug(...)

--- 31 unchanged lines hidden ---
127
128#else
129
130#define nxt_debug(...)
131#define nxt_debug_alloc(...)
132
133#define \
134nxt_log_debug(...)

--- 31 unchanged lines hidden ---