08-19-2010 06:44 PM
I can't figure this one out.
EventLogger.register returns true, but immediately after this call returns false:
Any idea why this is happening?
Solved! Go to Solution.
08-20-2010 01:10 AM - edited 08-20-2010 01:12 AM
You should be using:
logEvent(long guid, long value, int level);
Right now you are using logEvent(GUID, CODE):
code - a Numeric value representing the event code ( each Byte shifted accordingly ex: ('E'<<24)|('V'<<16)|('C'<<8)|('D')).
See the following link for possible levels:
So your code should be:
EventLogger.logEvent(GUID, "Test".getBytes(), EventLogger.DEBUG_INFO); // or whichever level you choose
08-20-2010 11:39 AM - edited 08-20-2010 12:02 PM
Suddenly started working.
Though I believe I was using the below method which is ok: