cancel
Showing results for 
Search instead for 
Did you mean: 

Logger and iViews

Former Member
0 Kudos

Hello,

Is it possible to use the standard API logger with an iView that extends the WcmBaseControl class?

A logger that works with the WcmBaseControl is :

com.sap.tc.logging.Location

, but I can't find any documentation on how to use it. Can anyone tell me how to find this documentation?

Thank you very much and the best regards

Kris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you very much for the reply. It helped a lot.

Can you or someone else perhaps also tell me if the

ILogger defaultLogger = PortalRuntime.getLogger();

can be used with the WcmBaseControl class?

Best regards

Kris

detlev_beutner
Active Contributor
0 Kudos

Hi Kris,

of course it can. WcmBaseControl just works within an irj application, there is no difference to any other portal apps.

Hope it helps

Detlev

Answers (2)

Answers (2)

Former Member
0 Kudos

Great!! thank you very much.

Best regards

Kris

Former Member
0 Kudos

Hi Kris,

you can find the documentation of the SAP Logging API here: http://help.sap.com/saphelp_nw04/helpdata/en/4a/c3953ff1353c17e10000000a114084/frameset.htm

Hope that helps.