Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] Logging

Hi all,

after trying out severyl options, I finally found a solution for a transparent logging system. Details can be found here: http://wiki.eclipse.org/Xtext_Project_Plan/Features/Logging

In order to get logging, check out the following two projects:
* org.eclipse.xtext.log4j
* org.eclipse.xtext.logging

If you introduce new bundles, please make sure to update the loggermap (in org.eclipse.xtext.logging). This is needed to ensure log messages appear with the respective bundle id in the Eclipse error log.

Also please NOTE that we do NOT use commons logging any more, but instead switched back to Log4J. So, all logging statements should look like this:

private static Logger log = Logger.getLogger(YourCoolClass.class);

Peter


Back to the top