class TP2::Logger

def log(str)

def log(str)
  str = format(
    "%<stamp>s %<msg>s\n",
    stamp:  Time.now.strftime('%Y-%m-%d %H:%M:%S.%3N'),
    msg:    str
  )
  @machine.write_async(@fd, str)
end