From 4542febaaf4ffdb5c95b84bb4c6be43f11cb87e2 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Mon, 3 Dec 2018 16:59:04 -0800 Subject: [PATCH] Remove global logging variable --- plugin/src/Logging.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/plugin/src/Logging.lua b/plugin/src/Logging.lua index b6f24c3b..30c54c78 100644 --- a/plugin/src/Logging.lua +++ b/plugin/src/Logging.lua @@ -14,13 +14,9 @@ local function getLogLevel() return testLogLevel end - if _G.ROJO_LOG ~= nil then - return _G.ROJO_LOG - end - - local hyperValue = DevSettings:getLogLevel() - if hyperValue ~= nil then - return hyperValue + local devValue = DevSettings:getLogLevel() + if devValue ~= nil then + return devValue end return Level.Info