lib/lockbox/log_subscriber.rb in lockbox-1.1.2 vs lib/lockbox/log_subscriber.rb in lockbox-1.2.0
- old
+ new
@@ -4,18 +4,18 @@
return unless logger.debug?
payload = event.payload
name = "Encrypt File (#{event.duration.round(1)}ms)"
- debug " #{color(name, YELLOW, true)} Encrypted #{payload[:name]}"
+ debug " #{color(name, YELLOW, bold: true)} Encrypted #{payload[:name]}"
end
def decrypt_file(event)
return unless logger.debug?
payload = event.payload
name = "Decrypt File (#{event.duration.round(1)}ms)"
- debug " #{color(name, YELLOW, true)} Decrypted #{payload[:name]}"
+ debug " #{color(name, YELLOW, bold: true)} Decrypted #{payload[:name]}"
end
end
end