enterprise logging using jboss tools

Reading the errors of wildfly – weld, sometimes you can see some NUMBERS to identify the error..

* Log messages for Contexts
* Message Ids: 000200 – 000299

@MessageLogger(projectCode = WELD_PROJECT_CODE)
public interface ContextLogger extends WeldLogger


@LogMessage(level = Level.TRACE)
@Message(id = 200, value = “Looked for {0} and got {1} in {2}”, format = Format.MESSAGE_FORMAT)
void contextualInstanceFound(Object param1, Object param2, Object param3);

The theory:
the code:

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *