Project

General

Profile

Β« Previous | Next Β» 

Revision 5a4f997b

Added by ko1 (Koichi Sasada) over 3 years ago

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ΒΆ