From 59aba4680d00279d74e5a9ce8f2a9198b85de6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=20=E2=80=98TK=E2=80=99=20Taylor?= Date: Mon, 18 May 2020 10:31:55 +0100 Subject: [PATCH] Logging consistency --- src/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 6c6fb60..8f98c26 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,11 +33,11 @@ const checkIPonRecord = async function (record: VercelRecord): Promise } const IP = await publicIP.v4(); if (IP && IP == record.value) { - console.log("IP matches ", IP) + console.log("IP matches :: ", IP) return true } else { - console.log("IP match failed against ", IP) + console.log("IP match failed against :: ", IP) return false } @@ -92,7 +92,7 @@ const loop = async function () { } const timeout = function (time: number): Promise { - console.log(`Sleeping for ${time} seconds`) + console.log(`Sleeping :: ${time} seconds`) return new Promise((resolve, reject) => { setTimeout(() => { resolve(); }, time * 1000) })