Fixed logger
Added logger sample usage