From cf644240803a10bc4bc7dcd92e6c4bc9481e8e3d Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Mon, 1 Aug 2022 18:31:41 +0200 Subject: [PATCH] Gladdy version + enhanced debug messages --- Gladdy.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gladdy.lua b/Gladdy.lua index 4478e48..d996d35 100644 --- a/Gladdy.lua +++ b/Gladdy.lua @@ -27,13 +27,13 @@ local LibStub = LibStub --------------------------- -local MAJOR, MINOR = "Gladdy", 7 +local MAJOR, MINOR = "Gladdy", 8 local Gladdy = LibStub:NewLibrary(MAJOR, MINOR) local L Gladdy.version_major_num = 2 -Gladdy.version_minor_num = 0.11 +Gladdy.version_minor_num = 0.20 Gladdy.version_num = Gladdy.version_major_num + Gladdy.version_minor_num -Gladdy.version_releaseType = RELEASE_TYPES.release +Gladdy.version_releaseType = RELEASE_TYPES.beta Gladdy.version = PREFIX .. string.format("%.2f", Gladdy.version_num) .. "-" .. Gladdy.version_releaseType Gladdy.VERSION_REGEX = VERSION_REGEX @@ -84,11 +84,11 @@ end function Gladdy:Debug(lvl, ...) if Gladdy.debug then if lvl == "INFO" then - Gladdy:Print(...) + Gladdy:Print("[INFO]", ...) elseif lvl == "WARN" then - Gladdy:Warn(...) + Gladdy:Warn("[WARN]", ...) elseif lvl == "ERROR" then - Gladdy:Error(...) + Gladdy:Error("[ERROR]", ...) end end end