diff options
author | Koichi Sasada <ko1@atdot.net> | 2022-06-08 16:14:20 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2022-06-09 01:51:19 +0900 |
commit | 5a4f997b2e8e819ed40731cd769826112072a9d4 (patch) | |
tree | df6b99101e156fab3e7c4fa15ece1a5bfe5071fb /constant.h | |
parent | 8d57336360497e94403a71bd13de8faa76f1dbcb (diff) | |
download | ruby-5a4f997b2e8e819ed40731cd769826112072a9d4.tar.gz |
func: and file: prefix for `RUBY_DEBUG_LOG_FILTER`
`RUBY_DEBUG_LOG_FILTER` specified only function names but this
patch also check file names for each log events.
If you specify `file:` or `func:` prefix, it's only filter
file names or func names (otherwize check both).
foo
# show log when file or func names are mached with foo
func:foo
# show log when func name matches foo
file:foo
# show log when file name matches foo
-file:foo,func:bar
# show log when file name does not contains foo
# and func name matches bar
Diffstat (limited to 'constant.h')
0 files changed, 0 insertions, 0 deletions