log: fix the definition of SPDK_DEBUGLOG
Change-Id: I320dc03c5db44cfe9a029ce7179202f301be6c19 Signed-off-by: Crane Chu <cranechu@gmail.com> Reviewed-on: https://review.gerrithub.io/425055 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
60a208c004
commit
4e58b2544b
@ -80,7 +80,7 @@ __attribute__((constructor)) static void register_trace_flag_##flag(void) \
|
||||
do { \
|
||||
extern struct spdk_trace_flag FLAG; \
|
||||
if (FLAG.enabled) { \
|
||||
spdk_log(SPDK_LOG_INFO, __FILE__, __LINE__, __func__, __VA_ARGS__); \
|
||||
spdk_log(SPDK_LOG_DEBUG, __FILE__, __LINE__, __func__, __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user