@Deprecated(forRemoval = true)
    default IApimanLogger getLogger(Class<?> klazz) {
        return ApimanLoggerFactory.getLogger(klazz);
    }
Use <samp>ApimanLoggerFactory.getLogger([clazz or name])</samp>.
<p>
For example:
<sample>static final IApimanLogger LOGGER = ApimanLoggerFactory.getLogger(MyPolicy.class)</sample>

@param klazz the class
@return A logger associated with the conversation.
@see ApimanLoggerFactory
gateway/engine/core/src/main/java/io/apiman/gateway/engine/policy/IPolicyContext.java