I want to display the debug information using logger. I tried
java.util.logging.Logger, but it doesn't work.
the code just like:
Logger logger = Logger.getLogger("...");
logger.log(Level.WARNING,"...");
but i didn't get any message on console.
> I want to display the debug information using logger. I tried
> java.util.logging.Logger, but it doesn't work.
> the code just like:
> Logger logger = Logger.getLogger("...");
> logger.log(Level.WARNING,"...");
> but i didn't get any message on console.
You *can* use the LogCat viewer in Eclipse (Window -> Show VIew ->
Other, then look under Android), but it's really balky. Seems to work
if you start Eclipse, then open LogCat *before* starting the emulator.
Hope this helps,
Ian
On Dec 4, 11:42 pm, FeiYang <feiyang21...@gmail.com> wrote:
> I want to display the debug information using logger. I tried
> java.util.logging.Logger, but it doesn't work.
> the code just like:
> Logger logger = Logger.getLogger("...");
> logger.log(Level.WARNING,"...");
> but i didn't get any message on console.
> You *can* use the LogCat viewer in Eclipse (Window -> Show VIew ->
> Other, then look under Android), but it's really balky. Seems to work
> if you start Eclipse, then open LogCat *before* starting the emulator.
> Hope this helps,
> Ian
> On Dec 4, 11:42 pm, FeiYang <feiyang21...@gmail.com> wrote:
> > I want to display the debug information using logger. I tried
> > java.util.logging.Logger, but it doesn't work.
> > the code just like:
> > Logger logger = Logger.getLogger("...");
> > logger.log(Level.WARNING,"...");
> > but i didn't get any message on console.