Skip to content

Commit

Permalink
the signature of the logger add method was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
paukul committed Nov 10, 2010
1 parent ea2864b commit 387fb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amqp_logging/metrics_agent.rb
Expand Up @@ -81,7 +81,7 @@ def agent
@agent
end

def add_with_proxy(severity, message, progname)
def add_with_proxy(severity, message = nil, progname = nil)
@agent.add_logline(severity, message, progname, self) unless severity < @level
add_without_proxy(severity, message, progname)
end
Expand Down

0 comments on commit 387fb81

Please sign in to comment.