Module: RubySmart::SimpleLogger::Extensions::Processed

Included in:
Logger
Defined in:
lib/ruby_smart/simple_logger/extensions/processed.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/ruby_smart/simple_logger/extensions/processed.rb', line 9

def self.included(base)
  base.extend ClassMethods
  base.include InstanceMethods
  base.class_eval do
    # set default box chars
    self.box_chars = {
      # control characters by provided +:pcd+
      default:       %w( ),
      start:         %w( ),
      end:           %w( ),

      # additional characters, added ad specific position
      __processed__: %w( ),
      __feed__:      %w( ),
      __tagged__:    %w( ),
    }.freeze
  end
end