2 Replies Latest reply on Aug 3, 2009 1:19 PM by 843793

    Tracing/ logging  with custom annotation

    843793
      Hi every one !

      I'd like to know if it possible to create an annotation that can logg some method calls ?

      I'd like to write something like this :
      @Trace(methodName="MyMethod")
      public void MyMethod(){
      ....
      }
      Output :

      Called Method : 'MyMethod'


      Where can i find some sample code ??

      Thx !