Class: FlashPlayer::LogFile
- Inherits:
-
Object
- Object
- FlashPlayer::LogFile
- Defined in:
- lib/flashplayer/log_file.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ LogFile
constructor
A new instance of LogFile.
- #tail(thread = nil) ⇒ Object
Constructor Details
#initialize ⇒ LogFile
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
#logger ⇒ Object
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 |