Class: LogSinks::Filter
- Inherits:
-
Object
- Object
- LogSinks::Filter
- Defined in:
- lib/log_sinks/filter.rb
Overview
Filter is a proc-like object that filters events to be accepted by [LogSinks::Sink]
Direct Known Subclasses
LogSinks::Filters::LevelFilter, LogSinks::Filters::LoggerNamePrefixFilter
Instance Method Summary collapse
-
#call(_event) ⇒ Boolean
Applies filter to the event.
Instance Method Details
#call(_event) ⇒ Boolean
Applies filter to the event
9 10 11 |
# File 'lib/log_sinks/filter.rb', line 9 def call(_event) true end |