victorious-monitor-97520
09/03/2024, 7:57 PMwhite-nest-40686
09/04/2024, 7:27 AMwhite-nest-40686
09/04/2024, 7:37 AMts
/**
* fxLogWarn log a warn into console, example of function saved in a session variable
*/
// Set the variable only if it does not exist
if (typeof session.fxLogWarn !== 'function') {
const fx = (title: string, content: any) => {
console.warn(title, content)
}
session.fxLogWarn = fx
}white-nest-40686
09/04/2024, 7:44 AM