added logger component