I’ve found a program that should be able to do part of what I want. It records the device’s name, when it is first detected, when it was last detected and how many times it has been detected and is able to output the information in a variety of formats. I did a quick test on my eeepc which has built in bluetooth but it was a little slow to detect devices so a better USB bluetooth adapter will be needed.