Skip to content

Commit

Permalink
Updates bold attribute to named attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
rgp committed Apr 2, 2024
1 parent 4f95aa2 commit 4c49d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/apartment/log_subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def debug(progname = nil, &block)
end

def apartment_log
database = color("[#{database_name}] ", ActiveSupport::LogSubscriber::MAGENTA, true)
database = color("[#{database_name}] ", ActiveSupport::LogSubscriber::MAGENTA, bold: true)
schema = current_search_path
schema = color("[#{schema.tr('"', '')}] ", ActiveSupport::LogSubscriber::YELLOW, true) unless schema.nil?
schema = color("[#{schema.tr('"', '')}] ", ActiveSupport::LogSubscriber::YELLOW, bold: true) unless schema.nil?
"#{database}#{schema}"
end

Expand Down

0 comments on commit 4c49d87

Please sign in to comment.