use modified opal logger
logger was having bizarre format errors copied and simplified (to get on)
This commit is contained in:
@ -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)
|
||||
|
@ -13,8 +13,8 @@ module Risc
|
||||
#
|
||||
|
||||
class Machine
|
||||
include Logging
|
||||
log_level :info
|
||||
include Util::Logging
|
||||
log_level :debug
|
||||
|
||||
def initialize
|
||||
@booted = false
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user