Hello,
I have following error when I use Logger.logp(Lever.SEVERE,
"sourceClass", "sourceMethod", "message"); in a class at client side.
My module gwt.xml is configured in order to enable logs, I can use
Logger.severe(...) and other without problem, but it seems logp is not
working as I would expect.
Here is the error I get at compilation:
[java] [ERROR] Errors in 'file:/.../www/composite/client/util/
CommonUtils.java'
[java] [ERROR] Line 196: The method logp(Level, String,
String, String) is undefined for the type Logger
Here is the method using logp:
public void commonCallbackFailure(Throwable caught, String
sourceMethod,
String sourceClass) {
String message = caught.getMessage();
String localizedMessage = caught.getLocalizedMessage();
String logMessage = "Callback for " + sourceMethod + " failed :
"
+ message + "\n" + localizedMessage;
logger.logp(Level.SEVERE, sourceClass, sourceMethod,
logMessage);
}
Is it normal because not implemented in GWT, or did I mistake
somewhere?
Thanks for any help. :)
--
You received this message because you are subscribed to the Google Groups
"gwt-log" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/gwt-log?hl=en.