[DiscordArchive] how do you make "cout" to send its output to console?
[DiscordArchive] how do you make "cout" to send its output to console?
Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:34:03.358000+00:00
Original source
how do you make "cout" to send its output to console?
Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:34:28.431000+00:00
Original source
For example
``` void SetData(uint32 type, uint32 value) override
{
std::cout << type;
std::cout << DATA_SET_INSANITY_PHASE;
if (type == DATA_SET_INSANITY_PHASE)
{
insanityPhase = (value != 0);
}
}```
Archived author: jovitbaldovino555 • Posted: 2023-04-24T12:35:06.398000+00:00
Original source
I'd like to get the value of insanityPhase.
Archived author: Rymercyble • Posted: 2023-04-24T12:39:31.794000+00:00
Original source
`LOG_ERROR("key", "whatever")`
Archived author: Nyeriah • Posted: 2023-04-24T12:44:16.077000+00:00
Original source
LOG_ERROR(“server”, “type {} INSANITY {}”, type, insanityPhase);
Archived author: jovitbaldovino555 • Posted: 2023-04-24T13:15:12.363000+00:00
Original source
thank you guys.