this probably isnt hard, but i didnt find any way to get seam log, anyone can help me?
@Interceptor
public class LogInterceptor {
@Logger
private static Log log;
@AroundInvoke
public Object checkLoggedIn(InvocationContext invocation) throws Exception {
try {
log.info("Executando operacao antes");
return invocation.proceed();
}
finally {
log.info("Executando operacao depois");
}
}
}
private static Log log = Logging.getLog(LogInterceptor.class);