Platform | Limitation or Difference |
All Platforms | The Logger class that Mobile Designer provides does not include a Logger.getGlobal() method. To access the global logger, use the following: Logger.getLogger(Logger.GLOBAL_LOGGER_NAME) |
Android | When running applications on the Android platform, the application uses the Java Standard Edition (Java SE) Logging API. It does not use the java.util.logging package that Mobile Designer provides. When configuring loggers, take into consideration that the global logger is not a root logger. The following code shows how to obtain the root logger in the logger’s hierarchy. Logger rootLogger = Logger.getLogger( Logger.GLOBAL_LOGGER_NAME); if (rootLogger.getParent() != null) { rootLogger = rootLogger.getParent(); } |
iOS | When running applications on the iOS platform, the application uses the java.util.logging API that Mobile Designer provides rather than the Java SE Logging API. The standard output for the ConsoleHandler class is console in Xcode. |
Phoney | When running applications in the Mobile Designer Phoney utility, the application uses the Java SE Logging API. It does not use the java.util.logging package that Mobile Designer provides. |