Module: GameMachine::Logger

Defined in:
server/lib/game_machine/logger.rb

Constant Summary collapse

LOGGER =
JavaLogger.new

Instance Method Summary collapse

Instance Method Details

#logfileObject


27
28
29
# File 'server/lib/game_machine/logger.rb', line 27

def logfile
  File.join(ENV['APP_ROOT'], 'log',"#{ENV['GAME_ENV']}.log")
end

#loggerObject


31
32
33
# File 'server/lib/game_machine/logger.rb', line 31

def logger
  LOGGER
end