Is there an application on iphone to keep a log of apps opened and their times?

I want to know if an app has been opened while i was sleeping by somebody. So i want n app that can give a log of activities for a layman. Like app name and last opened at what time! So that when i wake up i can just check if my iphone has been used by someone else or not.

I think the best thing is the prevention that is giving a code to your top smartphone so nobody can use it?! My dear iphones are very advanced and have backups so all the activities will be reserved in two places even one deleted?! Also you may set a settings that notifies you if even somebody takes and uses it! Good care!