# File lib/logging/appenders/file.rb, line 59 def reopen @mutex.synchronize { if defined? @io and @io flush @io.close rescue nil end @closed = false @io = ::File.new(@fn, @mode) @io.sync = true } self end