 
 	public class Logger
 	{
+		public static var debug:Function = err;
+		public static var error:Function = err;
 		public static var verbose:Boolean = true;
 
 		public static function dump (o:Object, depth:int = 0) :void

			}
			else
			{
				log(str, 'debug');
			}
		}

		public static function info (str:String) :void
		{
			log(str);
		}

		private static function log (str:String, level:String = 'info') :void
		{
			if (verbose) trace('[' + level + '] ' + str);
		}
	}
}
			}

			// trace the string value
			if (depth == 0) info(pad + o, 'dump');

			// process properties
			for (var p:String in o)
			{
				info(pad + ' ' + p + ': ' + o[p], 'dump');
				if ((typeof o[p]) == 'object' || (typeof o[p]) == 'xml')
				{
					dump(o[p], (depth + 1));
