Class: VidazingLogger::Filters::Error Private

Inherits:
Object
  • Object
show all
Defined in:
lib/vidazing_logger/filters/error.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Filter for non error message

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Error

Since:

  • 0.1.0



13
14
15
16
17
# File 'lib/vidazing_logger/filters/error.rb', line 13

def initialize
  @filter = Logging::Filters::Level.new \
    :error,
    :fatal
end

Instance Attribute Details

#filterObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



11
12
13
# File 'lib/vidazing_logger/filters/error.rb', line 11

def filter
  @filter
end