Class: VidazingLogger::Filters::Normal Private

Inherits:
Object
  • Object
show all
Defined in:
lib/vidazing_logger/filters/normal.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

#initializeNormal

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 Normal

Since:

  • 0.1.0



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/vidazing_logger/filters/normal.rb', line 13

def initialize
  # Logging::Filters::Level.new bug:
  # @filter has nil levels set on the first invocation
  #   :debug,
  #   :info,
  #   :warn
  @filter = Logging::Filters::Level.new \
    0,
    1,
    2
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/normal.rb', line 11

def filter
  @filter
end