From 272a7be414886f5dc7f3e088491fb6c56e58f671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 10 Oct 2020 13:03:33 -0700 Subject: [PATCH] more consistent logging --- MWSE/mods/celediel/NPCsGoHome/functions/checks.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua index 0aee29d..c1e04a3 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua @@ -53,7 +53,7 @@ end this.isCityCell = function(internalCellId, externalCellId) -- easy mode if string.match(internalCellId, externalCellId) then - log(common.logLevels.large, "[CHECKS] easy mode city: %s in %s", internalCellId, externalCellId) + log(common.logLevels.large, "[CHECKS] Easy mode city: %s in %s", internalCellId, externalCellId) return true end @@ -63,12 +63,12 @@ this.isCityCell = function(internalCellId, externalCellId) local _, _, externalCity = string.find(externalCellId, cityMatch) if externalCity and externalCity == internalCity then - log(common.logLevels.large, "[CHECKS] hard mode city: %s in %s, %s == %s", internalCellId, externalCellId, + log(common.logLevels.large, "[CHECKS] Hard mode city: %s in %s, %s == %s", internalCellId, externalCellId, externalCity, internalCity) return true end - log(common.logLevels.large, "[CHECKS] hard mode not city: %s not in %s, %s ~= %s or both are nil", internalCellId, + log(common.logLevels.large, "[CHECKS] Hard mode not city: %s not in %s, %s ~= %s or both are nil", internalCellId, externalCellId, externalCity, internalCity) return false end