Class: Logger::LogDevice

Inherits:
Object
  • Object
show all
Defined in:
lib/serverengine/daemon_logger.rb

Instance Method Summary collapse

Instance Method Details

#reopen!Object



23
24
25
26
27
28
# File 'lib/serverengine/daemon_logger.rb', line 23

def reopen!
  if filename = @filename
    @dev.reopen(filename, 'a')
    @dev.sync = true
  end
end