Sha256: bef94ba3877e2935c4210ae2f78ff87f8128996b2c0ca7f9b01335afe5f73366

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require 'vidazing_logger/appender'
require 'vidazing_logger/color_scheme'
require 'vidazing_logger/filters/levels'

module VidazingLogger
  module Appenders
    # Appender writing to STDERR
    #
    # @api private
    # @since 0.1.0
    class Stderr < Appender
      def initialize
        super \
          name: self.class.name,
          color_scheme: ColorScheme.error,
          filter_levels: Filters::Levels.error
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vidazing_logger-0.2.1 lib/vidazing_logger/appenders/stderr.rb
vidazing_logger-0.2.0 lib/vidazing_logger/appenders/stderr.rb