[
https://issues.apache.org/jira/browse/UIMA-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhavani Iyer updated UIMA-567:
------------------------------
Attachment: UIMA-567.patch
Implements support for writing log message to application provided loggers.
> Support for application specified logging facility
> --------------------------------------------------
>
> Key: UIMA-567
> URL: https://issues.apache.org/jira/browse/UIMA-567
> Project: UIMA
> Issue Type: New Feature
> Components: C++ Framework
> Reporter: Bhavani Iyer
> Attachments: UIMA-567.patch
>
>
> .Applications embedding the UIMA C++ runtine need to be able to route log
> messages generated by the C++ framework and by UIMA C++ componenets to
> logging facilities used by the application. Currently, the UIMA C++ SDK only
> supports logging to a file and routing log messages to Java if called from a
> Java application. To support this requirement to support custom loggers, the
> SDK will be extended as follows:
> 1) define a Logger interface to be implemented by users to wrap the
> application specific logger.
> 2) provide APIs in the ResourceManager class to register/unregister Loggers.
> The ResourceManager will maintain reference to
> all the registered loggers.
> 3) modify the LogFacility class to route the log messages to all registered
> loggers.
> 4) reimplement the current logging to file and java logger to conform to this
> design.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.