code: public static IRequestLogger getRequestLogger(final WebApplication webApplication)
  	{
  		IRequestLogger requestLogger;
  		if (webApplication == null)
  		{
  			requestLogger = ((WebApplication)Application.get()).getRequestLogger();
  		}
  		else
  		{
  			requestLogger = webApplication.getRequestLogger();
  		}
  
  		if (requestLogger == null)
  		{
  			requestLogger = new RequestLogger();
  		}
  		return requestLogger;
  	}
docs: Gets the request logger from the given WebApplication.
  
  @param webApplication
  the web application
  @return the request logger