Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Efxclipse/Runtime/Recipes"
(→Logging) |
(→Usage) |
||
Line 15: | Line 15: | ||
There are different ways to use get a logger. | There are different ways to use get a logger. | ||
− | ==== Factory ==== | + | ==== Logger Factory ==== |
+ | |||
+ | This is the easiest way to use the logger | ||
<source lang="java"> | <source lang="java"> |
Revision as of 17:03, 6 December 2013
This page holds best practice recipes when writing JavaFX application using e(fx)clipse
Core
Logging
e(fx)clipse has its own logging facade org.eclipse.fx.core.log.Logger
which allows to plug-in different log frameworks.
Currently available are:
-
java.util.Logging
(default) - log4j by adding
org.eclipse.fx.core.log4j
Usage
There are different ways to use get a logger.
Logger Factory
This is the easiest way to use the logger