Skip to content

Commit

Permalink
log/console_adapter: Fix wrong severity to use
Browse files Browse the repository at this point in the history
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
  • Loading branch information
ashie committed Jan 19, 2023
1 parent ed50732 commit fb97f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/log/console_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def call(subject = nil, *arguments, name: nil, severity: 'info', **options, &blo
@io.seek(0)
@io.truncate(0)
super
@logger.send(severity, @io.string.chomp)
@logger.send(level, @io.string.chomp)
end
end
end
Expand Down

0 comments on commit fb97f56

Please sign in to comment.