Class: VidazingLogger::Appenders::BuildLog Private

Inherits:
Log show all
Defined in:
lib/vidazing_logger/appenders/build_log.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.2.0

Instance Attribute Summary

Attributes inherited from Log

#log_dir, #name

Attributes inherited from VidazingLogger::Appender

#color_scheme, #filter_levels, #name

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.2.0



14
15
16
17
18
19
20
# File 'lib/vidazing_logger/appenders/build_log.rb', line 14

def initialize(log_dir:)
  super \
    name: 'build',
    log_dir: log_dir,
    color_scheme: ColorScheme.normal,
    filter_levels: Filters::Levels.normal
end