Enum ConsoleSource
- Namespace
- McServerLauncher.Models
- Assembly
- McServerLauncher.dll
Where a console line came from, before anything tries to read it.
public enum ConsoleSource
Fields
Launcher = 2This application, not the server.
Stderr = 1The server's standard error.
Stdout = 0The server's standard output.
Remarks
The distinction the process used to throw away. ServerProcessManager wired standard output
and standard error to the same handler and re-emitted both through one event that said nothing
about which was which — and standard error is the cheapest and most reliable severity signal a
server ever gives you. Launcher is the third because that same service also injects
its own messages through that event ("starting", "stopped", "not responding"), and those are the
app talking, not the server.