Class: Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/heroku/scalr/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#reopenObject



3
4
5
6
7
8
9
# File 'lib/heroku/scalr/core_ext.rb', line 3

def reopen
  return unless @logdev && @logdev.filename

  @logdev.dev.reopen(@logdev.filename, "a")
  @logdev.dev.sync = true
  self
end