Method: Logging::Filter#allow
- Defined in:
- lib/logging/filter.rb
#allow(event) ⇒ Object
Returns the event if it should be forwarded to the logging appender. Returns nil if the event should not be forwarded to the logging appender. Subclasses should override this method and provide their own filtering semantics.
21 22 23 |
# File 'lib/logging/filter.rb', line 21 def allow(event) event end |