Hi guys,
I'm having problems with this enum value. I can catch all events using e.g. KLogCallEventTypeUid but if I switch to KLogShortMessageEventTypeUid it is not catching any event related to sms's. The sms log entries are still present in the log folder (Tools->Log->go to second tab).
I'm using filters with iRecentLogView:Code:iLogClient = CLogClient::NewL( iFsSession ); iRecentLogView = CLogViewRecent::NewL( *iLogClient ); iLogFilterIngoingSms = CLogFilter::NewL(); iLogFilterOutgoingSms = CLogFilter::NewL(); iLogFilterIngoingCall = CLogFilter::NewL(); iLogFilterOutgoingCall = CLogFilter::NewL(); iLogFilterList = new (ELeave) CLogFilterList(); TBuf<KLogMaxDirectionLength> directionOut; iLogClient->GetString(directionOut, R_LOG_DIR_OUT); TBuf<KLogMaxDirectionLength> directionIn; iLogClient->GetString(directionIn, R_LOG_DIR_IN); // using this filter does not filter any event related to sms's iLogFilterOutgoingSms->SetDirection(directionOut); iLogFilterOutgoingSms->SetEventType(KLogShortMessageEventTypeUid); iLogFilterIngoingSms->SetDirection(directionIn); iLogFilterIngoingSms->SetEventType(KLogShortMessageEventTypeUid); iLogFilterOutgoingCall->SetDirection(directionOut); iLogFilterOutgoingCall->SetEventType(KLogCallEventTypeUid); iLogFilterIngoingCall->SetDirection(directionIn); iLogFilterIngoingCall->SetEventType(KLogCallEventTypeUid); // if I use composed filters, again only calls are properly fitlered iLogFilterList->AppendL(iLogFilterOutgoingSms); iLogFilterList->AppendL(iLogFilterIngoingSms); iLogFilterList->AppendL(iLogFilterOutgoingCall); iLogFilterList->AppendL(iLogFilterIngoingCall);
Should I use another api instance like iLogViewEvent->SetFilterL(*iLogFilter,iStatus)? What is the relation between CLogViewEvent and CRecentLogView, it seems that just iRecentLogView->Event(). Can I get the sms log entry with:Code:iRecentLogView->SetRecentListL(KLogNullRecentList, *iLogFilterList, iStatus)
?Code:iRecentLogView->PreviousL(iStatus)



