Please check out:
Messenger Uptime Project.... It's basically what you want.. it's still just in VERY early BETA stage, and is only used for testing... At the moment it only logs your how long you have been online, and it doesn't save for each session... At the moment you are still not able to see your stats online, but this will come later.. You can in the program see the other users's uptime... Hopefully this program will sometime in the future be able to log the different stats etc... But it's still in beta and might still be buggy... But keep an eye on this project, and one day it might finally turn into what you requested..
...