[DiscordArchive] so `LOG_WHATEVER()` is controlled solely by `Logger.` in conf ?
[DiscordArchive] so `LOG_WHATEVER()` is controlled solely by `Logger.` in conf ?
Archived author: Kitzunu • Posted: 2023-09-08T17:17:08.330000+00:00
Original source
took me a while
Archived author: Rymercyble • Posted: 2023-09-08T17:19:17.368000+00:00
Original source
and can i do that even in module ? so in my module i would add
```
Appender.MyModule=2,5,3,MyModule.log
Logger.MyModule=5,MyModule
```
and then
```cpp
LOG_DEBUG("MyModule", "...")
```
?
Archived author: Kitzunu • Posted: 2023-09-08T17:20:08.188000+00:00
Original source
If module confs are loaded as worldserver confs, then I guess so
Archived author: Rymercyble • Posted: 2023-09-08T17:21:05.380000+00:00
Original source
can u tell if its even correct ? i just put that randomly together looking at rest of them <:kek:1065379143887372398>
Archived author: Kitzunu • Posted: 2023-09-08T17:21:46.718000+00:00
Original source
looks good to me
Archived author: Rymercyble • Posted: 2023-09-08T17:22:03.472000+00:00
Original source
lets test it
Archived author: Kitzunu • Posted: 2023-09-08T17:23:03.921000+00:00
Original source
just mind that
`Logger.MyModule=5,MyModule` will only output to the file and not the console
Archived author: Rymercyble • Posted: 2023-09-08T17:23:28.294000+00:00
Original source
ye sure what im going to do it basically debug that would flow out of console anyway
Archived author: Kitzunu • Posted: 2023-09-08T17:24:34.672000+00:00
Original source
https://github.com/azerothcore/azerothco...7102/files I fixed the chat logger in this PR. adding new loggers and appender. Exactly what you want, but different flags and log levels ofc. But you can crossreference it
))
Archived author: Kitzunu • Posted: 2023-09-08T17:24:56.679000+00:00
Original source
yes, we have a built in chat logger that can log all chats. even p2p whispers
))