/** * This default implementation saves the {@link ShellProcess} so it can output the process info string later. * * @param ownerCls - the class which instantiated this ShellLogHandler. * @param process - the current {@link ShellProcess}. * @param context - the current {@link TopologyContext}. * @see {@link ShellLogHandler#setUpContext} */ public void setUpContext(final Class<?> ownerCls, final ShellProcess process, final TopologyContext context) { this.log = getLogger(ownerCls); this.process = process; // context is not used by the default implementation, but is included // in the interface in case it is useful to subclasses }
this.log = getLogger(null);
/** * This default implementation saves the {@link ShellProcess} so it can * output the process info string later. * @see {@link ShellLogHandler#setUpContext} * * @param ownerCls * - the class which instantiated this ShellLogHandler. * @param process * - the current {@link ShellProcess}. * @param context * - the current {@link TopologyContext}. */ public void setUpContext(final Class<?> ownerCls, final ShellProcess process, final TopologyContext context) { this.log = getLogger(ownerCls); this.process = process; // context is not used by the default implementation, but is included // in the interface in case it is useful to subclasses }
this.log = getLogger(null);