//! Give an injected mod somewhere to see its logs.
//!
//! A game is usually a windowed process with no console, so `stdout`/`stderr`
//! (and a `tracing` subscriber writing to them) go nowhere. [`alloc_console`]
//! fixes that on Windows by allocating a console and pointing the standard
//! handles at it. On other platforms the process already has a `stderr`, so it
//! is a no-op; run the game from a terminal to see the output.
/// Allocates a console and attaches the standard output/error handles to it.
/// Returns whether a console was allocated (always `false` off Windows).