Logging Mechanisms

Hello,

I couldn’t find documentation regarding logging strategies and mechanisms for Servoy. For instance, is it possible to log errors and other interactions in a specified log file?

Thank you.

Logging is based on log4j. This is a nice starting point: http://en.wikipedia.org/wiki/Log4J

If you want to use logging in your own code (methods), you could have a look at our free Log plugin.

I’m using this plugin and that works really fine. And it is very easy to use:

plugins.Log.error('Some error message')
plugins.Log.warn('Some warning')

etc

Amazing! Exactly what I was looking for.

Thank you.