Implement LogElapsed class

This pull request addresses issue #10.