     {
         if (Log.isError())
         {
-            logger.error.apply(null, [ message, rest ]);
+            logger.error.apply(null, [ message ].concat(rest));
         }
     }
 


    public function log(level:int, message:String, ... rest):void
    {
        logger.log.apply(null, [ level, message, rest ]);
    }

    public function debug(message:String, ... rest):void
    {
        if (Log.isDebug())
        {
            logger.debug.apply(null, [ message, rest ]);
        }
    }


    {
        if (Log.isInfo())
        {
            logger.info.apply(null, [ message ].concat(rest));
        }
    }

