jeudi 23 juillet 2015

@Service can be used for logging aspect?

Recently, I observed that @Service annotation is used to define a logger class.

To me, it doesn't look ok as @Service should be used for the definition of "Business Services", not to define "Aspects".

In my opinion "Aspect" based logger shall be more compact and clean approach.

Any comment shall be appreciated.

Aucun commentaire:

Enregistrer un commentaire