Skip to content

C8 Logs in Onodrim

Luis Rodero-Merino edited this page Aug 12, 2013 · 2 revisions

Onodrim classes use the logging functionality provided by java.util.logging. Users only need to set the configuration of the org.onodrim logger.

Also, the Onodrim.Log class provides some utility methods that allow to setup Onodrim logs quickly. If you wish you can use your own mechanisms and ignore these methods. Possibly the most useful methods are Onodrim.Log.enableOnodrimLogs() and Onodrim.Log.enableUtilConsoleLogger:

Onodrim.Log.enableOnodrimLogs(); // To activate Onodrim logger
Onodrim.Log.enableUtilConsoleLogger(); // To add a utility console logger
Onodrim.runJobs(new File("test.properties"), new JobImpl()); 

You can consult these utility methods in the Javadoc API.