[ 
https://issues.jboss.org/browse/SOLDER-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Ament reassigned SOLDER-82:
--------------------------------

    Assignee: John Ament


> Allow category for typed loggers to be defaulted
> ------------------------------------------------
>
>                 Key: SOLDER-82
>                 URL: https://issues.jboss.org/browse/SOLDER-82
>             Project: Seam Solder
>          Issue Type: Enhancement
>          Components: Logging
>    Affects Versions: 3.0.0.CR2
>            Reporter: Dan Allen
>            Assignee: John Ament
>            Priority: Minor
>             Fix For: 3.0.0.Final
>
>
> Currently, the category must be specified at the injection point of a typed 
> logger.
> throw new IllegalStateException("Must specify @Category or @TypedCategory for 
> typed loggers at [" + injectionPoint + "]");
> This is too restrictive. It's well established that if a category is not 
> specified, it should default to the fully-qualified name of the containing 
> class. This should be permitted:
> package com.acme;
> public class MyService {
>     @Inject
>     private ServiceLogger log;
> }
> The category would be set to com.acme.MyService

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to