<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 06/06/2012 11:37 AM, Jason T. Greene wrote:
<blockquote cite="mid:4FCFA386.4000400@redhat.com" type="cite">
<pre wrap="">On 6/6/12 1:32 PM, Bill Burke wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On 6/6/12 2:11 PM, David M. Lloyd wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 06/06/2012 12:35 PM, Bill Burke wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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);
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<pre wrap="">
Eh, I guess I could just use reflection techniques to create my own
abstraction and stuff the logging interfaces in a separate jar.
BTW, this is ridiculously over-engineered and at least for me, harder to
adapt to my project. These engineering hours could have been better
spent elsewhere.
</pre>
</blockquote>
<pre wrap="">
You don't have to use it. You just need a message format that meets
TAG-2. Everything the framework does, is meets the TAG-3 requirements
(discussed ad nauseam years ago).
</pre>
</blockquote>
This was all done before I started so I could be wrong, but I think
JBoss Logging is supposed to be used.
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://issues.jboss.org/browse/ANDIAMO-2">https://issues.jboss.org/browse/ANDIAMO-2</a>
<pre class="moz-signature" cols="72">--
James R. Perkins
JBoss by Red Hat</pre>
</body>
</html>