= private = protected
log(msg)
Log a message to #stdlog, if it’s defined. This implementation outputs the timestamp and message to the log.
msg
the message to log
# File lib/gserver.rb, line 204 def log(msg) if @stdlog @stdlog.puts("[#{Time.new.ctime}] %s" % msg) @stdlog.flush end end