The Detect Magic spell states that you can sense magic within 30 feet of you. Does this let you know the location of the magic your are detecting? Are you just supposed to get a yes/no that there is magic within 30 feet of you? If there are multiple things to detect do you know about each different source of magic?
Let's say the party enters a room and the warlock uses detect magic. If there is a magic item in the closed chest across the room, one hidden under the floor and the fighter is carrying a magic sword what kind of understanding does the warlock have? Does he know the location of all these magical sources or does he just get a "yes" there is magic within 30 feet of you?