BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-31-2004, 03:18 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2004
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Event Logger

Please Login to Remove!

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.INF ORMATION);

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
Offline  
Old 09-01-2004, 12:05 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
kirson's Avatar
 
Join Date: Aug 2004
Location: Chicago
Model: 9000
Carrier: ATT
Posts: 421
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you ever figure this out?
Offline  
Old 09-01-2004, 12:35 AM   #3 (permalink)
Tom
Admin & Founder
 
Join Date: Aug 2004
Location: Kitchener-Waterloo, On, Canada
Model: 9800
OS: 3.1415926
PIN: UnDisclosed
Carrier: Rogers
Posts: 5,262
Post Thanks: 5
Thanked 105 Times in 25 Posts
Default

Quote:
Originally Posted by kirson
Did you ever figure this out?
I am curious of this as well, as nodody seemed to have an answer.
Offline  
Old 09-01-2004, 11:39 AM   #4 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

From a Blackberry developer:
Quote:
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.
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.