Shows the lifecycyle of an activity in the Log. Finished project.
Update to make code more efficient.