Logging example code - removed one logger method

Methods were almost the same.