Module: VidazingLogger::Filters::Levels Private

Defined in:
lib/vidazing_logger/filters/levels.rb

Overview

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

Filter log messages strictly by Levels. Levels…

See Also:

Since:

  • 0.2.0

Constant Summary collapse

ALL =

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

Since:

  • 0.2.0

%i[debug info warn error fatal].freeze

Class Method Summary collapse

Class Method Details

.errorObject

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.

Filter for error messages

Since:

  • 0.2.0



26
27
28
# File 'lib/vidazing_logger/filters/levels.rb', line 26

def error
  %i[error fatal]
end

.normalObject

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.

Filter for normal messages

Since:

  • 0.2.0



21
22
23
# File 'lib/vidazing_logger/filters/levels.rb', line 21

def normal
  %i[debug info warn]
end