Print a warning to output (not debugger)

Godot Version

4.3

Question

There is print() and printerr(), but I couldn’t find a similar way to print warnings to the Output panel – even though there is functionality to turn them off:

(The yellow line is a call to print_rich("[color=yellow]<text here>"), which kinda’ looks like a warning, but isn’t, strictly speaking…)

I’m obviously aware of push_error() and push_warning(), but those log to the Debugger and not the Output panel.

What am I missing here?

The functionality to toggle the visibility of warnings is reserved for output warnings that were created within the engine’s C++ method WARN_PRINT().
I don’t think it’s possible for user-created warning prints inside of the output / aka terminal. It is clearly defined that warnings and errors are belonging to the debugger