Class: VidazingLogger::Appenders::Stderr Private

Inherits:
Basic
  • Object
show all
Defined in:
lib/vidazing_logger/appenders/stderr.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 STDERR

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from Basic

#appender

Instance Method Summary collapse

Constructor Details

#initializeStderr

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 Stderr

Since:

  • 0.1.0



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

def initialize
  @color_scheme_id = VidazingLogger::Colors::ErrorColorScheme.id
  @filter = VidazingLogger::Filters::Error.new.filter

  appender_type = Appenders::Type::ID_STDERR
  appender_id = self.class.name
  super(type: appender_type, id: appender_id)
end