class Console::Filter
def call(subject, *arguments, **options, &block)
@parameter block [Proc] A block passed to the output.
@parameter options [Hash] Additional options to pass to the output.
@parameter arguments [Array] The arguments to log.
@parameter subject [Object] The subject of the log message.
Log a message with the given severity.
def call(subject, *arguments, **options, &block) severity = options[:severity] || UNKNOWN level = self.class::LEVELS[severity] if self.enabled?(subject, level) @output.call(subject, *arguments, **options, &block) end return nil end