class WEBrick::BasicLog

Public Instance Methods

reopen() click to toggle source

FIXEM: Ad hoc reopen support.

# File vendor/qwik/lib/qwik/util-webrick.rb, line 12
def reopen
  log_file = @log.path
  @log.close
  @log = open(log_file, "a+")
  @log.sync = true
  @opened = true
end