cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

loggers are not displayed

GuruPrasad1
12-Amethyst

loggers are not displayed

Hello all,

 

When script logs are used inside functions,they are not displayed in monitoring.. has anyone else observed this..any solution?

 

Eg.

function print(){
    logger.info("1");

    function print2(){
        logger.info("2");
    }

}

print();

logger.info("3");

 

1 & 3 are printed in script log while 2 is not..

 

 

Thanks for any clues..

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:GuruPrasad1)

Where are you calling function print2 ?

View solution in original post

1 REPLY 1
PaiChung
22-Sapphire I
(To:GuruPrasad1)

Where are you calling function print2 ?

Announcements


Top Tags