Add logger accessor.