Add a logger to BlockContextManager