Skip to content

Commit

Permalink
RUBY_DEBUG_LOG2 should filter against the given file
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jul 28, 2022
1 parent bee5089 commit 2b93747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm_debug.h
Expand Up @@ -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)

Expand Down

0 comments on commit 2b93747

Please sign in to comment.