Class: VidazingLogger::Appenders::Stdout Private

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

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from Basic

#appender

Instance Method Summary collapse

Constructor Details

#initializeStdout

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 Stdout

Since:

  • 0.1.0


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

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

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