PDA

View Full Version : Event Logger


movalys_matt
08-31-2004, 03:18 AM
you might all know the ctrl+LGLG function to show the event logger

to add informations in the log :
EventLogger.register(0x32,"My Application",EventLogger.VIEWER_STRING);
byte[] message = new String("Message).getBytes();
System.out.println(EventLogger.getInt(message)+"");
EventLogger.logEvent(0x32L,message,EventLogger.INFORMATION);

But i got a few questions if any one could help:
is it possible to get logged events anywhere else(in my application for example)?
At least, does anybody know where data is stored(they say it's persistent, but is it possible do explore the part of the persistent store that contains this information)?

thanks

kirson
09-01-2004, 12:05 AM
Did you ever figure this out?

Tom
09-01-2004, 12:35 AM
Did you ever figure this out?
I am curious of this as well, as nodody seemed to have an answer.

Mark Rejhon
09-01-2004, 11:39 AM
From a Blackberry developer:The API only allows you to add events to the system log -- it doesn't facilitate viewing/retrieving events from the log. What are you trying to do specifically? There may be a workaround, for example if you want to display the event log from your application you might be able to launch the built in viewer programatically somehow.