Sha256: 180ef0ac088522b88ef3429760cc8c72f4ffa87550aca9bac33836bce8321ea2
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true require 'logging' module VidazingLogger # Filter logs by level severity # # @api private # @since 0.2.0 module Filters # Filter log messages strictly by Levels. Levels... # # @see Levels::ALL # @api private # @since 0.2.0 module Levels class << self ALL = %i[debug info warn error fatal].freeze # Filter for normal messages def normal %i[debug info warn] end # Filter for error messages def error %i[error fatal] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vidazing_logger-0.2.1 | lib/vidazing_logger/filters/levels.rb |
vidazing_logger-0.2.0 | lib/vidazing_logger/filters/levels.rb |