Does anyone know if there's a way to tap into the console messages printed in the Godot editor? I don't need this in runtime - it's only needed in "TOOLS" mode in order to intercept messages from other tools.

Here's how this is done in Unity:
Application.logMessageReceivedThreaded += (string condition, string stackTrace, LogType type) => { };

Thanks!

messages that you send to the console yourself or those sent by godot, for example when an error occurs ?

    el_malo I'm trying to monitor errors logged by the Godot editor and external tools.
    I'm just looking for an event or signal that fires whenever something is written to the Godot editor console.

    6 days later

    Thank you, but thay says nothing about getting programmatic access to the messages.

    I'm using Godot 4.1.

    • xyz replied to this.

      kloot I don't think this is currently doable. Some discussions around this topic can be found on Godot's github, although nothing of sorts is implemented yet.