text: /**
   * @fileOverview Requirejs module containing base antie.devices.logging.alert class.
   *
   * @preserve Copyright (c) 2013 British Broadcasting Corporation
   * (http://www.bbc.co.uk) and TAL Contributors (1)
   *
   * (1) TAL Contributors are listed in the AUTHORS file and at
   *     https://github.com/fmtvp/TAL/AUTHORS - please extend this file,
   *     not this notice.
   *
   * @license Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   *
   * All rights reserved
   * Please contact us for an alternative licence
   */
  
  require.def(
  	'antie/devices/logging/alert',
  	[
  		'module', 'antie/devices/device'
  	],
  	function( Module, Device) 
  	{
  		'use strict';
  
  		var enabledLevels = null;
  		var loggingMethods = {
  			/**
  			 * Sets the iterator pointer to the first item
  			 */
  			log: function() {			
  					alert("[LOG] " +  Array.prototype.join.call(arguments, '\n'));
  			},
  			debug: function() {
  					alert("[DEBUG] " +  Array.prototype.join.call(arguments, '\n'));
  			},						
  			info: function() {
  					alert("[INFO] " +  Array.prototype.join.call(arguments, '\n'));
  			},			
  			warn: function() {
  					alert("[WARN] " +  Array.prototype.join.call(arguments, '\n'));
  			},		
  			error: function() {
  					alert("[ERROR] " +  Array.prototype.join.call(arguments, '\n'));
  			}
  		};
  		
  		Device.addLoggingStrategy( Module.id, loggingMethods );
  	}
  );
  