mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
RUBY_DEBUG_LOG2
should filter against the given file
This commit is contained in:
parent
bee5089d67
commit
2b9374768f
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ bool ruby_debug_log_filter(const char *func_name, const char *file_name);
|
|||
} while (0)
|
||||
|
||||
#define RUBY_DEBUG_LOG2(file, line, ...) do { \
|
||||
if (RUBY_DEBUG_LOG_ENABLED(RUBY_FUNCTION_NAME_STRING, __FILE__)) \
|
||||
if (RUBY_DEBUG_LOG_ENABLED(RUBY_FUNCTION_NAME_STRING, file)) \
|
||||
ruby_debug_log(file, line, RUBY_FUNCTION_NAME_STRING, "" __VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue