class AuditStream

Public Class Methods

new() click to toggle source
# File lib/tdl/queue/queue_based_implementation_runner.rb, line 92
def initialize
  @logger = Logging.logger[self]
  start_line
end

Public Instance Methods

end_line() click to toggle source
# File lib/tdl/queue/queue_based_implementation_runner.rb, line 110
def end_line
  @logger.info @str
end
log(auditable) click to toggle source
# File lib/tdl/queue/queue_based_implementation_runner.rb, line 101
def log(auditable)
  text = auditable.audit_text
  if not text.empty? and @str.length > 0
    @str << ', '
  end

  @str << text
end
start_line() click to toggle source
# File lib/tdl/queue/queue_based_implementation_runner.rb, line 97
def start_line
  @str = ''
end