chore(logging): reformat output (#74)

Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
vmnt
2020-09-19 14:47:55 -07:00
committed by GitHub
parent cf0e959fb4
commit 433fa8ca9f
+2 -2
View File
@@ -58,9 +58,9 @@ export async function lookup(store: Store) {
Logger.debug(textContent); Logger.debug(textContent);
if (includesLabels(textContent, link.oosLabels)) { if (includesLabels(textContent, link.oosLabels)) {
Logger.info(`✖ [${store.name}] ${graphicsCard} is still out of stock`); Logger.info(`✖ [${store.name}] still out of stock: ${graphicsCard}`);
} else if (link.captchaLabels && includesLabels(textContent, link.captchaLabels)) { } else if (link.captchaLabels && includesLabels(textContent, link.captchaLabels)) {
Logger.warn(`✖ [${store.name}] ${graphicsCard} gave us a CAPTCHA`); Logger.warn(`✖ [${store.name}] CAPTCHA from: ${graphicsCard}`);
} else { } else {
Logger.info(`🚀🚀🚀 [${store.name}] ${graphicsCard} IN STOCK 🚀🚀🚀`); Logger.info(`🚀🚀🚀 [${store.name}] ${graphicsCard} IN STOCK 🚀🚀🚀`);
Logger.info(link.url); Logger.info(link.url);