Sha256: 137082f49dee7052ddfef7a31977c4d5b9ee63459307d6842cc8b0ce62f1a3d5
Contents?: true
Size: 495 Bytes
Versions: 2
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true require 'logging' module VidazingLogger # An +Appender+ appenders log events to a logging destination. # All appenders use the same layout. So we store the +color_scheme+ # instead. # # @api private # @since 0.2.0 class Appender attr_reader :filter_levels, :name, :color_scheme def initialize(name:, filter_levels:, color_scheme:) @filter_levels = filter_levels @color_scheme = color_scheme @name = name end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vidazing_logger-0.2.1 | lib/vidazing_logger/appender.rb |
vidazing_logger-0.2.0 | lib/vidazing_logger/appender.rb |