Class: FlashPlayer::LogFile

Inherits:
Object
  • Object
show all
Defined in:
lib/flashplayer/log_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLogFile

Returns a new instance of LogFile.



8
9
10
11
# File 'lib/flashplayer/log_file.rb', line 8

def initialize
  @logger = $stdout
  super
end

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



6
7
8
# File 'lib/flashplayer/log_file.rb', line 6

def logger
  @logger
end

Instance Method Details

#tail(thread = nil) ⇒ Object



13
14
15
# File 'lib/flashplayer/log_file.rb', line 13

def tail thread=nil
  tail_path flashlog_path, thread
end