# log_nonstandard_invoked_name

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/_invocation/log_nonstandard_invoked_name)

Note a non-standard launch name in the Debug Console, once per process.

Cached so repeated calls cannot repeat the note; tests that vary the launch
environment must call `log_nonstandard_invoked_name.cache_clear()`. Shim
users launch through a name this package does not ship (see
`STANDARD_INVOKED_NAMES`), and a wrong resume hint is otherwise impossible to
trace back to how the name was resolved.

The level is chosen so the note is never user-facing but always reaches the
in-app Debug Console (`Ctrl+\\`): the in-memory buffer floors the package
logger at `INFO` and its handler passes `DEBUG` (`_debug_buffer`), so when
`DEEPAGENTS_CODE_DEBUG` is off a `DEBUG` record would be filtered before the
buffer saw it — `INFO` still prints nothing to the terminal because the
buffer is the only handler in the chain. When debug mode is on, `DEBUG` is
used so the note also lands in the debug log file.

## Signature

```python
log_nonstandard_invoked_name() -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/_invocation.py#L108)