[DiscordArchive] <@203326888888893440> `LOG_ERROR("server", "Message: {}", variable)`?
[DiscordArchive] <@203326888888893440> `LOG_ERROR("server", "Message: {}", variable)`?
Archived author: Michael Crilly • Posted: 2022-11-12T23:00:05.949000+00:00
Original source
<@203326888888893440> `LOG_ERROR("server", "Message: {}", variable)`?
Archived author: Bench • Posted: 2022-11-12T23:01:10.467000+00:00
Original source
`LOG_ERROR("module", "Errormsg");`
Archived author: Michael Crilly • Posted: 2022-11-12T23:01:50.892000+00:00
Original source
I'll switch to `module`, but for the record, the rest is valid, by the way
Archived author: Michael Crilly • Posted: 2022-11-12T23:02:03.190000+00:00
Original source
From `ah-bot`: `LOG_ERROR("module", "AHSeller: Current house id is {}", config->GetAHID());`
Archived author: Bench • Posted: 2022-11-12T23:02:05.891000+00:00
Original source
You're right, I forgot how variables work
Archived author: Michael Crilly • Posted: 2022-11-12T23:02:22.306000+00:00
Original source
All good. Just making sure you knew as it's a cool feature. Very helpful.
Archived author: Michael Crilly • Posted: 2022-11-12T23:03:59.212000+00:00
Original source
Do you have to chance the logging settings in the world server, or will I get errors already?
Archived author: Bench • Posted: 2022-11-12T23:04:13.597000+00:00
Original source
I think errors are enabled by default
Archived author: Michael Crilly • Posted: 2022-11-12T23:11:56.179000+00:00
Original source
Correct. Cheers.
Archived author: Michael Crilly • Posted: 2022-11-12T23:33:47.078000+00:00
Original source
Hmm. Interesting. My config is being ignored. I must be initialising it wrong.