Logger implementation.