class RTALogger::LogRepositoryConsole

show log items on console out put

Public Class Methods

new() click to toggle source
Calls superclass method RTALogger::LogRepository::new
# File lib/log_repository_console.rb, line 7
def initialize
  super
end

Public Instance Methods

load_config(config_json) click to toggle source
Calls superclass method RTALogger::LogRepository#load_config
# File lib/log_repository_console.rb, line 11
def load_config(config_json)
  super
end

Protected Instance Methods

flush_and_clear() click to toggle source

register :console

# File lib/log_repository_console.rb, line 19
def flush_and_clear
  @semaphore.synchronize do
    @log_records.each { |log_record| puts @formatter.format(log_record) }
  end
  super
end