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…
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.
%i[debug info warn error fatal].freeze
Class Method Summary collapse
-
.error ⇒ Object
private
Filter for error messages.
-
.normal ⇒ Object
private
Filter for normal messages.
Class Method Details
.error ⇒ Object
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
26 27 28 |
# File 'lib/vidazing_logger/filters/levels.rb', line 26 def error %i[error fatal] end |
.normal ⇒ Object
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
21 22 23 |
# File 'lib/vidazing_logger/filters/levels.rb', line 21 def normal %i[debug info warn] end |