Added basic log functionality
Added basic log functionality