docs: function(logger){
  		// add listener to the logger methods
  		logger.onlog.addListener(Log4js.bind(this.doAppend, this));
  		logger.onclear.addListener(Log4js.bind(this.doClear, this));
  	
  		this.logger = logger;
  	}