[DiscordArchive] How would I add a line to a custom spell script that writes something to the worldserver terminal?
[DiscordArchive] How would I add a line to a custom spell script that writes something to the worldserver terminal?
Archived author: Young Toto • Posted: 2025-02-01T22:02:22.585000+00:00
Original source
How would I add a line to a custom spell script that writes something to the worldserver terminal?
Archived author: Kitzunu • Posted: 2025-02-01T22:03:11.529000+00:00
Original source
LOG_
Archived author: Young Toto • Posted: 2025-02-01T22:03:58.004000+00:00
Original source
tried LOG_INFO, but that didn't seem to work
Archived author: Kitzunu • Posted: 2025-02-01T22:04:01.558000+00:00
Original source
f.ex
```cpp
LOG_ERROR("server", "Error");
```
Archived author: Kitzunu • Posted: 2025-02-01T22:04:11.820000+00:00
Original source
the appender needs to exist or be added in the config
Archived author: Kitzunu • Posted: 2025-02-01T22:04:17.608000+00:00
Original source
otherwise it wont show
Archived author: Kitzunu • Posted: 2025-02-01T22:04:34.727000+00:00
Original source
https://www.azerothcore.org/wiki/logging-configuration
[Embed: Logging Configuration (log4j-like)]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/logging-configuration
Archived author: Kitzunu • Posted: 2025-02-01T22:04:40+00:00
Original source
here's a guide for it
Archived author: Young Toto • Posted: 2025-02-01T22:04:42.224000+00:00
Original source
That could be why, I'll try your snippet
Archived author: Young Toto • Posted: 2025-02-01T22:04:44.875000+00:00
Original source
Thank you!