[jboss-as7-dev] manual way to do logging?

David M. Lloyd david.lloyd at redhat.com
Wed Jun 6 14:11:07 EDT 2012


On 06/06/2012 12:35 PM, Bill Burke wrote:
> I do not want to use the JBoss Logging annotation framework as I do not
> want to have a hard dependency on JBoss Logging for my project.
>
> Is there a manual API that I can use instead to build a message?
> Something like:
>
> String getMessage(long id, Object... params);

No, there isn't (and if there were, it'd be part of JBoss Logging, 
so...).  You can however use the maven-shade-plugin to slurp the JBoss 
Logging classes into your project (even under another package name). 
It's a pretty small project and we're working to make it smaller.

-- 
- DML


More information about the jboss-as7-dev mailing list