Logger implementation