Sha256: 2b51f0d6bf8970c73f7b671672b187aaaaef0e5412c7518df0f8765a237c3450

Contents?: true

Size: 525 Bytes

Versions: 2

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

require 'vidazing_logger/appenders/log'
require 'vidazing_logger/color_scheme'
require 'vidazing_logger/filters/levels'

module VidazingLogger
  module Appenders
    # Appender writing to 'logs/build.log'
    #
    # @api private
    # @since 0.2.0
    class BuildLog < Log
      def initialize(log_dir:)
        super \
          name: 'build',
          log_dir: log_dir,
          color_scheme: ColorScheme.normal,
          filter_levels: Filters::Levels.normal
      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/build_log.rb
vidazing_logger-0.2.0 lib/vidazing_logger/appenders/build_log.rb