-
-
Save addisonj/4f601a5be75979dfa58b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/bullet.rb b/lib/bullet.rb | |
index f6c522f..4569927 100644 | |
--- a/lib/bullet.rb | |
+++ b/lib/bullet.rb | |
@@ -95,6 +95,10 @@ module Bullet | |
end | |
end | |
+ def custom_logger=(logger) | |
+ UniformNotifier.add_notifier(logger) | |
+ end | |
+ | |
def debug(title, message) | |
puts "[Bullet][#{title}] #{message}" if ENV['BULLET_DEBUG'] == 'true' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment