1 /** 2 * @author Nick de Groot <nick.degroot[at]vivesta[dot]com> 3 * @link www.vivesta.com 4 * @copyright Copyright © 2010 5 * @license xxx 6 * @version 0.0.1 7 * @package Banana 8 * 9 * Logger Object 10 * 11 * The Logger object is the base object for all different Loggers 12 * 13 */ 14 15 goog.provide('Banana.Util.Logger'); 16 17 /** 18 * @namespace Banana.Util 19 */ 20 namespace('Banana.Util'); 21 22 /** 23 * Logger 24 * 25 * @constructor 26 */ 27 Banana.Util.Logger = function() 28 { 29 /** 30 * @var Identifier for the logger 31 */ 32 this.id = 'Base'; 33 }; 34 35 /** 36 * Output a message 37 */ 38 Banana.Util.Logger.prototype.write = function(msg) 39 { 40 throw Error('Logger::write should be overloaded!'); 41 }; 42 43