 			}
 		}
 
-		public static function debug (str:String) :void
+		public static function err (str:String) :void
 		{
 			if (verbose && Capabilities.playerType == 'StandAlone')
 			{

			}

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

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


	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
