-- Decompiled with the Synapse X Luau decompiler.


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;
