LogService, clearing specific outputs

Ok so i want to be able to delete output messages from the log using LogService somehow… I made the script to detect it but i dont know how to delete it.

local LS = game:GetService("LogService")

LS.MessageOut:Connect(function(msg, typ)
	if typ == Enum.MessageType.MessageOutput then

	end
end)

bumping, i am still trying to find the solution yet i have no idea how