Class: Kredis::LogSubscriber
- Inherits:
-
ActiveSupport::LogSubscriber
- Object
- ActiveSupport::LogSubscriber
- Kredis::LogSubscriber
- Defined in:
- lib/kredis/log_subscriber.rb
Instance Method Summary collapse
Instance Method Details
#meta(event) ⇒ Object
12 13 14 |
# File 'lib/kredis/log_subscriber.rb', line 12 def (event) info formatted_in(MAGENTA, event) end |
#migration(event) ⇒ Object
8 9 10 |
# File 'lib/kredis/log_subscriber.rb', line 8 def migration(event) debug formatted_in(YELLOW, event, type: "Migration") end |
#proxy(event) ⇒ Object
4 5 6 |
# File 'lib/kredis/log_subscriber.rb', line 4 def proxy(event) debug formatted_in(YELLOW, event, type: "Proxy") end |