For those of you who want to use the Flex Logging framework to send your log messages to a remote service you can now do it by simply referencing the "gemvc" filter like so:
myLogger = Log.getLogger("gemvc"); myLogger.info("this is a log message");
the message will be redirected to any log services you may have set up on the server side (see previous blog post).
The old logging methods on the MVCApplication class are still there, the only difference being is that they now use the Flex Logging Levels as well (mx.logging.LogEventLevel). These levels are converted to the equivalents that the backend service uses which may be different. In your logging service entry in your services.xml you will also need to add a mapping to the pre-defined service log levels like so:
<LOGGINGSERVICE ALIAS="log" SERVICE="myLogger" ENDPOINT="remoteLog" FATAL_LEVEL="0" ERRORLEVEL="1" WARNLEVEL="2" INFOLEVEL="3" DEBUGLEVEL="4" TRACELEVEL="5"/>