class QuickML::MockLogger

Public Class Methods

new() click to toggle source
# File vendor/qwik/lib/qwik/mock-logger.rb, line 9
def initialize
  clear
end

Public Instance Methods

clear() click to toggle source
# File vendor/qwik/lib/qwik/mock-logger.rb, line 13
def clear
  @log = []
  @vlog = []
end
get_log() click to toggle source
# File vendor/qwik/lib/qwik/mock-logger.rb, line 27
def get_log
  lo = @log
  clear
  return lo
end
get_vlog() click to toggle source
# File vendor/qwik/lib/qwik/mock-logger.rb, line 33
def get_vlog
  lo = @vlog
  clear
  return lo
end
log(str) click to toggle source
# File vendor/qwik/lib/qwik/mock-logger.rb, line 18
def log(str)
  @vlog << str
  @log << str
end
vlog(str) click to toggle source
# File vendor/qwik/lib/qwik/mock-logger.rb, line 23
def vlog(str)
  @vlog << str
end