Added a sample logging usage.