Details

    • Documentation (Ref Guide, User Guide, etc.)

    Description

      User can define an interface annotated @MessageLogger

      @MessageLogger
      interface TrainSpotterLog {
         @LogMessage @Message("Spotted %s diesel trains") 
         void dieselTrainsSpotted(int number);
      }
      

      and then just inject the bean

      @Inject @Category("trains") TrainSpotterLog log;
      

      Seam Solder will create the bean programmaticlly.

      See http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/logging.html

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: