At the moment, the logger captures all user-generated output but not ST-generated output. For example, if we type:
- Code: Select all
print "Hello"
the console will display:
- Code: Select all
>>> print "Hello"
Hello
but SublimeLog will only capture:
- Code: Select all
Hello
Other messages that my plugin misses include "Writing file…" messages.
While such system messages are generally of minor interest to most SublimeLog users, it would be nice to refine the plugin to capture all output without exceptions. At the moment this is impossible, because the plugin simply captures sys.stdout and sys.stderr, while ST dispatches its own "system" output directly to the console, bypassing the pipes.
So, to arrive at my question about the Sublime Text 3 API: Would you consider piping all console output, including "system" output, via sys.stdout and sys.stderr?
Many thanks.