2 Replies Latest reply: Aug 3, 2009 8:19 AM by 843793 RSS

    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 !