Hi,
First off thanks for this great forum! I have a question about the log engine if anyone cares to take a stab at this. I'm basically trying to grab the latest call number and time from within my application but can't seem to get it to work. I've read through the SDK on the log engine API but am still quite confused. I'm just not sure how the different log classes are used to access the call information. I've successfully compiled and run my code on the 3650 but don't receive any output.
A brief snippet of my code looks like:
file.Connect();
clc = CLogClient::NewL(file);
clv = CLogViewRecent::NewL(*clc);
const CLogEvent& event = clv->Event();
const TDesC16& desc = event.Description();
file.Close();
This is just trying to grab the latest event description and then proceed to set it in a label component within the application. Can someone shed some light on what I'm doing here and possibly post some code that works? Thanks in advance for any insight you can offer.
Best regards,
Dennis