Class: VidazingLogger::Appenders::BuildLog Private

Inherits:
Log
  • Object
show all
Defined in:
lib/vidazing_logger/appenders/log/build.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Appender writing to 'logs/build.log'

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from Log

#log_dir

Attributes inherited from Basic

#appender

Instance Method Summary collapse

Methods inherited from Log

#log_path

Constructor Details

#initialize(log_dir:) ⇒ BuildLog

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.

Returns a new instance of BuildLog

Since:

  • 0.1.0


13
14
15
16
17
18
# File 'lib/vidazing_logger/appenders/log/build.rb', line 13

def initialize(log_dir:)
  @color_scheme_id = VidazingLogger::Colors::NormalColorScheme.id
  @filter = VidazingLogger::Filters::Normal.new.filter

  super(log_dir: log_dir, name: 'build')
end