mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- debug load() calls with DEBUG=require, too
This commit is contained in:
parent
f0196dbdc0
commit
487e8fe155
1 changed files with 7 additions and 0 deletions
|
@ -6,5 +6,12 @@ if $DEBUGLIST.include?("require")
|
||||||
puts "require(\"#{path}\")"
|
puts "require(\"#{path}\")"
|
||||||
return require_debug(path)
|
return require_debug(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
alias_method :load_debug, :load
|
||||||
|
|
||||||
|
def load(path)
|
||||||
|
puts "load(\"#{path}\")"
|
||||||
|
return load_debug(path)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue