Craig
07/03/2023, 8:32 AM/**
* Function which create debug log
*
* @param {String} stLogTittle - logger title
* @param {String} stLogMessage - message
*/
function debugLogMaker(stLogTittle, stLogMessage) {
if (BL_DEB_LOG_IS_ENABLED) {
log.debug(stLogTittle, stLogMessage);
}
}
Any idea why you'd create this function?NickSuite
07/03/2023, 9:29 AMCraig
07/03/2023, 9:29 AMNickSuite
07/03/2023, 9:30 AMCraig
07/03/2023, 9:30 AMCraig
07/03/2023, 9:31 AMCraig
07/03/2023, 9:31 AMCraig
07/03/2023, 9:32 AMCraig
07/03/2023, 9:32 AMNickSuite
07/03/2023, 9:36 AMNickSuite
07/03/2023, 9:37 AMNickSuite
07/03/2023, 9:40 AMCraig
07/03/2023, 9:45 AMCraig
07/03/2023, 9:45 AMCraig
07/03/2023, 9:45 AMCraig
07/03/2023, 9:46 AMNickSuite
07/03/2023, 9:47 AMNickSuite
07/03/2023, 9:49 AMCraig
07/03/2023, 9:49 AMerictgrubaugh
07/03/2023, 3:55 PMlog
method call is still submitted to the server, even if it is a lower level than what the Deployment states, so you still take a performance hit for that log call. An implementation like this prevents that.NickSuite
07/03/2023, 3:57 PMCraig
07/03/2023, 3:57 PMCraig
07/03/2023, 3:58 PMStuart Anderton
07/03/2023, 6:09 PMerictgrubaugh
07/03/2023, 7:19 PMdebug()
logs must either be removed or upgraded to a higher level before it can be mergedNickSuite
07/03/2023, 7:26 PMrustyshackles
07/04/2023, 9:19 AMNickSuite
07/04/2023, 10:12 AMCraig
07/04/2023, 10:30 AMCraig
07/04/2023, 10:30 AMerictgrubaugh
07/04/2023, 4:39 PMerictgrubaugh
07/04/2023, 4:40 PMCraig
07/04/2023, 4:41 PM