Use logger class