[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Good Techniques of Tracing
|
Yes my log is enabled.
I saw my problem in Eclipse because any method the Class ArquivoTcs did not have the red arrow´s advice
First moment I thought bug AspectJ but when I executed my program nothing captured
On 7/13/07, Ron Bodkin <rbodkin@xxxxxxxxxxxxxx> wrote:
Is your log enabled? How are you weaving
into the application?
Hello Guys
I have problem with pointcut
I try to capture any method this Class: ArquivoTcs
I try this:
pointcut traceMethods1(): execution(* ArquivoTcs.*(..) ) || call(*
ArquivoTcs.*(..))
&& !within(TraceAspect);
before(): traceMethods1()
{
if ( log.isEnabledFor(Level.INFO) )
{
Signature sig =
thisJoinPointStaticPart
.getSignature();
log.log(Level.INFO ,
"Entering [ "+sig.getDeclaringType().getName()+" .
"+sig.getName()+"]");
}
}
But failed , nothing captured I don´t understand this problem because I
specify this any execution or call method Class ArquivoTcs
How could captured any execution or call method this class ArquivoTcs?
Hug
--
raphael milani
:=]
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
--
raphael milani
:=]