Class: Airplay::Logger

Inherits:
Log4r::Logger
  • Object
show all
Defined in:
lib/airplay/logger.rb

Overview

Public: A Log4r wrapper

Instance Method Summary collapse

Constructor Details

#initializeLogger

Returns a new instance of Logger.



7
8
9
10
# File 'lib/airplay/logger.rb', line 7

def initialize(*)
  super
  add Airplay.configuration.output
end

Instance Method Details

#<<(message) ⇒ Object

Public: Helper method to be compatible with Net::HTTP

message - The message to be logged as debug

Returns nothing



18
19
20
# File 'lib/airplay/logger.rb', line 18

def <<(message)
  debug message
end