Bonjour,
Quelqu'un sait-il à quoi sert l'annotation @MessageLogger de Seam ?
Dans la doc ça dit :
Il y a même un exempleThe most significant and distinguishing feature of JBoss Logging is support for typed loggers. A typed logger is an interface that defines methods which serve as logging operations. When a method is invoked on one of these interfaces, the message defined in an annotation on the method is interpolated and written to the underlying logging engine.
Mais je ne comprend pas du tout ce que c'est censé faire...
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
Ce que j'imagine, c'est que dans mon code, quand je veux loguer quelque chose, je vais pouvoir faire un truc du style :
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
Est ce que j'ai bon ?
Th.

 

 
		
		 
         
 

 
			
			

 
  
  
  
 
 
			 
   
 


 MessageLogger dans Seam 3
 MessageLogger dans Seam 3
				 Répondre avec citation
  Répondre avec citation
Partager