change it to

|
Loggerlogger =logger.getLogger("LoggerName");
logger.log(|Logger|.DEBUG,"some message");//Level.DEBUG doesn't exist
|

Em 06/04/2017 09:54, Philipp escreveu:
I want to be able to log messages with a debug level. According to http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html I can set a log level DEBUG. -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM or ALL (defaults to INFO)

What I don't understand is how I'm supposed to log messages with debug level. Using the java.util.logging.Logger:

|
Loggerlogger =logger.getLogger("LoggerName");
logger.log(Level.DEBUG,"some message");//Level.DEBUG doesn't exist
|

How can one make sure that some messages get logged with level DEBUG?
--
You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to