-
Sub-task
-
Resolution: Done
-
Major
-
None
-
Documentation (Ref Guide, User Guide, etc.)
User can define an interface annotated @MessageLogger
@MessageLogger interface TrainSpotterLog { @LogMessage @Message("Spotted %s diesel trains") void dieselTrainsSpotted(int number); }
and then just inject the bean
@Inject @Category("trains") TrainSpotterLog log;
Seam Solder will create the bean programmaticlly.
See http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/logging.html