Navigation Menu

Skip to content

Commit

Permalink
Add missing arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2014
1 parent 452c8d4 commit 1b44234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/logger.rb
Expand Up @@ -95,13 +95,13 @@ def exception(message, exception, data={})
private
def log(level, message, data)
return unless target_level?(level)
@output.print(build_log_line(message, data))
@output.print(build_log_line(level, message, data))
end

def log_backtrace(level, backtrace)
return unless target_level?(level)
backtrace.each do |message|
@output.write(build_log_line(message))
@output.write(build_log_line(level, message))
end
end

Expand Down

0 comments on commit 1b44234

Please sign in to comment.