local b={}DebugLogger={}function DebugLogger.new(b,r)local y=r and typeof(r)=="\115\116\114\105\110\103"assert(y,"\073\110\118\097\108\105\100 \115\099\114\105\112\116 \110\097\109\101")local X={scriptName=r}setmetatable(X,b)b.__index=b return X end function DebugLogger.Log(b,r,y)pcall(function()local X=b.scriptName..(" - "..(r.." \099\097\108\108\101\100 \119\105\116\104 \112\097\114\097\109\101\116\101\114\115 "))for b,r in pairs(y)do X=X..(tostring(b)..(" \058 "..(tostring(r).."\044 ")))end print(X)end)end function DebugLogger.LogFunctionCall(b,r,y)b:Log(r,y)end function DebugLogger.LogString(b,r)pcall(function()print(b.scriptName..(" - "..r))end)end b.DebugLogger=DebugLogger return b


local v1 = {};
DebugLogger = {};
function DebugLogger.new(p1, p2)
	local v2 = p2 and typeof(p2) == "string";
	assert(v2, "Invalid script name");
	local v3 = {
		scriptName = p2
	};
	setmetatable(v3, p1);
	p1.__index = p1;
	return v3;
end;
function DebugLogger.Log(p3, p4, p5)
	pcall(function()
		local v4 = p3.scriptName .. " - " .. p4 .. " called with parameters ";
		for v5, v6 in pairs(p5) do
			v4 = v4 .. tostring(v5) .. " : " .. tostring(v6) .. ", ";
		end;
		print(v4);
	end);
end;
function DebugLogger.LogFunctionCall(p6, p7, p8)
	p6:Log(p7, p8);
end;
function DebugLogger.LogString(p9, p10)
	pcall(function()
		print(p9.scriptName .. " - " .. p10);
	end);
end;
v1.DebugLogger = DebugLogger;
return v1;
