Class: FlashPlayer::LogFile

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (LogFile) initialize

A new instance of LogFile



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

def initialize
  @logger = $stdout
  super
end

Instance Attribute Details

- (Object) logger

Returns the value of attribute logger



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

def logger
  @logger
end

Instance Method Details

- (Object) tail(thread = nil)



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

def tail thread=nil
  tail_path flashlog_path, thread
end