This is how I get/create a seam logger outside of seam managed components.
|
| import org.jboss.seam.log.Log;
| import org.jboss.seam.log.LogImpl;
|
| /**
| * This will provide various utility/helper methods for dealing with seam.
| * @author Charles Canning
| */
| public class SeamHelper {
| private SeamHelper() {
| }
|
| public static Log getLogger(Class clazz) {
| return new LogImpl(clazz);
| }
|
| public static Log getLogger(String name) {
| return new LogImpl(name);
| }
| }
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994370#3994370
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994370
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user