GEMVC now supports the Flex Logging Framework

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"/>

Comments
Hogan's Gravatar HOGAN x adidas Originals adi-La nascita di Mickey X-scarpe

Menzionato HOGAN ://www.hogansitoufficialeu-italian.net/ e adidas cooperazione Originals, per prima cosa pensare al adidas dal Mickey JS le scarpe alte, e ora HOGAN le adidas Originals x adi-the RISE Mickey 'scarpe X su comunicato stampa in vendita sulla rete, questa scarpa come Originals HOGAN e adidas Mickey testa a snodo per la superiore con materiale lucido e vernice, aggiungere la lingua l'effetto rigonfiamento, seguita da tre parti strisce Mickey mano, del piede e il modello "X", bella, si apprende che questa scarpa in vendita negli Stati Uniti di oggi .
# Posted By Hogan | 7/13/12 11:29 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.006. | Protected by Akismet | Blog with WordPress