How to use the addCategory function from bindings
Find comprehensive JavaScript bindings.addCategory code examples handpicked from public code repositorys.
GitHub: mrkmarron/logpp
1517 1518 1519 1520 1521 1522 1523 1524 1525 1526
try { let cid = s_categoryNames.get(name); if (cid === undefined) { cid = s_categoryNames.size; s_categoryNames.set(name, cid); nlogger.addCategory(cid, name); } if (this === s_rootLogger) { s_enabledCategories[cid] = (enabled === undefined || enabled === true);
0
61
0
bindings.createKey is the most popular function in bindings (8616 examples)