/** * Notification callback that the log context has changed its name * * @param string[] $contextNames Stack of context names. $contextName[0] is * the new name of the current context * @param string $oldTopName The old name of the current context */ public function renameContext($contextNames, $oldTopName) { $this->contextName = LogContextHandler::createQualifiedContextName($contextNames); }
/** * Notification callback that the log context has changed its name * * @param string[] $contextNames Stack of context names. $contextName[0] is * the new name of the current context * @param string $oldTopName The old name of the current context */ public function renameContext($contextNames, $oldTopName) { $this->contextName = $this->context->createQualifiedContextName($contextNames); }