Register logger with the container