Class: PxModule::PxLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/perimeterx/utils/px_logger.rb

Instance Method Summary collapse

Constructor Details

#initialize(debug) ⇒ PxLogger

Returns a new instance of PxLogger.



6
7
8
9
10
11
12
13
# File 'lib/perimeterx/utils/px_logger.rb', line 6

def initialize(debug)
  if debug
    super(STDOUT)
  else
    super(nil)
  end

end