traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_common/src/te_ostv2integsuite_defs.cpp
equal
deleted
inserted
replaced
34 CClearConfig::CClearConfig() |
34 CClearConfig::CClearConfig() |
35 { |
35 { |
36 /*Constructor*/ |
36 /*Constructor*/ |
37 } |
37 } |
38 |
38 |
39 void CClearConfig::Clear(RULogger& loggerSession) |
39 void CClearConfig::ClearL(RULogger& loggerSession) |
40 { |
40 { |
41 loggerSession.Stop();//C.A. previously:loggerSession.StopOutputting(); |
41 loggerSession.Stop();//C.A. previously:loggerSession.StopOutputting(); |
42 loggerSession.DeActivateInputPlugin(); |
42 loggerSession.DeActivateInputPlugin(); |
43 CArrayPtrFlat<HBufC8> *allplugins = new (ELeave)CArrayPtrFlat<HBufC8>(1); |
43 CArrayPtrFlat<HBufC8> *allplugins = new (ELeave)CArrayPtrFlat<HBufC8>(1); |
44 loggerSession.GetInstalledOutputPlugins(*allplugins);//C.A. previously:loggerSession.InstalledOutputPlugins(*allplugins); |
44 loggerSession.GetInstalledOutputPlugins(*allplugins);//C.A. previously:loggerSession.InstalledOutputPlugins(*allplugins); |
61 loggerSession.SetNotificationSize(512); |
61 loggerSession.SetNotificationSize(512); |
62 loggerSession.SetBufferMode(1);//C.A. previously:loggerSession.SetBufferMode(EStraight); |
62 loggerSession.SetBufferMode(1);//C.A. previously:loggerSession.SetBufferMode(EStraight); |
63 } |
63 } |
64 |
64 |
65 //NB: currently this method does not set the default values for serial and usb! hanging the server |
65 //NB: currently this method does not set the default values for serial and usb! hanging the server |
66 void CClearConfig::Default(RULogger& loggerSession) |
66 void CClearConfig::DefaultL(RULogger& loggerSession) |
67 { |
67 { |
68 Clear(loggerSession); |
68 ClearL(loggerSession); |
69 //Now set default configurations shipped with ulogger |
69 //Now set default configurations shipped with ulogger |
70 CArrayFixFlat<TUint8> *setfilter=new (ELeave)CArrayFixFlat<TUint8>(1);//CA:added so can use old ulogger api |
70 CArrayFixFlat<TUint8> *setfilter=new (ELeave)CArrayFixFlat<TUint8>(1);//CA:added so can use old ulogger api |
71 setfilter->AppendL(3);//CA:added so can use old ulogger api |
71 setfilter->AppendL(3);//CA:added so can use old ulogger api |
72 //setfilter->AppendL(13);//reintroduce this filter when pick up uloggerv2 - needed for SWAP analysis |
72 //setfilter->AppendL(13);//reintroduce this filter when pick up uloggerv2 - needed for SWAP analysis |
73 //set Classification filter |
73 //set Classification filter |