MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / PrintConsole

Method PrintConsole

src/gamelog.cpp:310–315  ·  view source on GitHub ↗

Print the gamelog data to the console. */

Source from the content-addressed store, hash-verified

308
309/** Print the gamelog data to the console. */
310void Gamelog::PrintConsole()
311{
312 this->Print([](const std::string &s) {
313 IConsolePrint(CC_WARNING, s);
314 });
315}
316
317/**
318 * Prints gamelog to debug output. Code is executed even when

Callers 1

ConGamelogPrintFunction · 0.80

Calls 2

PrintMethod · 0.95
IConsolePrintFunction · 0.70

Tested by

no test coverage detected