use modified opal logger

logger was having bizarre format errors
copied and simplified (to get on)
This commit is contained in:
Torsten Ruger
2018-05-20 14:45:48 +03:00
parent a350325b6b
commit a7a62d53b2
8 changed files with 694 additions and 58 deletions

View File

@ -13,8 +13,8 @@ module Risc
class Interpreter
# fire events for changed pc and register contents
include Util::Eventable
include Logging
log_level :info
include Util::Logging
log_level :debug
attr_reader :instruction , :clock # current instruction or pc
attr_reader :registers # the registers, 16 (a hash, sym -> contents)

View File

@ -13,8 +13,8 @@ module Risc
#
class Machine
include Logging
log_level :info
include Util::Logging
log_level :debug
def initialize
@booted = false

View File

@ -13,7 +13,7 @@ module Risc
# we just add it to pointers.
class TextWriter
include Logging
include Util::Logging
log_level :info
def initialize(machine)