[
https://issues.apache.org/jira/browse/UIMA-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164867#comment-16164867
]
Marshall Schor commented on UIMA-5565:
--------------------------------------
ok, thanks, will do. The key is the logger name - usually (by convention) the
same as some class name. When a context is created the creation code will call
the setLogger to set the logger. For flow controllers, for example, the code
is in FlowControllerContainer, and looks like
{code}Logger logger = UIMAFramework.getLogger(mFlowController.getClass());
logger.setResourceManager(this.getResourceManager());
uimaContext.setLogger(logger);
{code}
> uv3: Adding getLogger() method in flow controllers
> --------------------------------------------------
>
> Key: UIMA-5565
> URL: https://issues.apache.org/jira/browse/UIMA-5565
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Reporter: Richard Eckart de Castilho
>
> How about adding a getLogger() method also in CasFlowController_ImplBase /
> JCasFlowController_ImplBase?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)