PavelR42 Member since 2018 7 posts
Posted: September 6, 2018
Last activity: September 7, 2018

How to use built-in JS logger?

Hello all,

I am doing quite a lot of front-end development in JavaScript on Pega 7.4 and I discovered that there is a JS interface for getting log messages from native Pega controls.

There is a pega.widget.Logger that might be visible on UI but I find no way to enable it. Moreover it is not either loaded or available in global context.

Modifying IsAPegaDeveloper when rule gives access to brief description of logBase, logBaseMonitor, and others but there is no examples of usage.

Is there any way to enable this Logger? Maybe, we can reuse it for our custom controls, cannot we?

Pega Platform
Moderation Team has archived post
Share this page LinkedIn