Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] so `LOG_WHATEVER()` is controlled solely by `Logger.` in conf ?

[DiscordArchive] so `LOG_WHATEVER()` is controlled solely by `Logger.` in conf ?

[DiscordArchive] so `LOG_WHATEVER()` is controlled solely by `Logger.` in conf ?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
09-08-2023, 05:17 PM
#11
Archived author: Kitzunu • Posted: 2023-09-08T17:17:08.330000+00:00
Original source

took me a while
rektbyfaith
09-08-2023, 05:17 PM #11

Archived author: Kitzunu • Posted: 2023-09-08T17:17:08.330000+00:00
Original source

took me a while

rektbyfaith
Administrator
0
09-08-2023, 05:19 PM
#12
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", "...")
```
?
rektbyfaith
09-08-2023, 05:19 PM #12

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", "...")
```
?

rektbyfaith
Administrator
0
09-08-2023, 05:20 PM
#13
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
rektbyfaith
09-08-2023, 05:20 PM #13

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

rektbyfaith
Administrator
0
09-08-2023, 05:21 PM
#14
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>
rektbyfaith
09-08-2023, 05:21 PM #14

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>

rektbyfaith
Administrator
0
09-08-2023, 05:21 PM
#15
Archived author: Kitzunu • Posted: 2023-09-08T17:21:46.718000+00:00
Original source

looks good to me
rektbyfaith
09-08-2023, 05:21 PM #15

Archived author: Kitzunu • Posted: 2023-09-08T17:21:46.718000+00:00
Original source

looks good to me

rektbyfaith
Administrator
0
09-08-2023, 05:22 PM
#16
Archived author: Rymercyble • Posted: 2023-09-08T17:22:03.472000+00:00
Original source

lets test it
rektbyfaith
09-08-2023, 05:22 PM #16

Archived author: Rymercyble • Posted: 2023-09-08T17:22:03.472000+00:00
Original source

lets test it

rektbyfaith
Administrator
0
09-08-2023, 05:23 PM
#17
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
rektbyfaith
09-08-2023, 05:23 PM #17

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

rektbyfaith
Administrator
0
09-08-2023, 05:23 PM
#18
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
rektbyfaith
09-08-2023, 05:23 PM #18

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

rektbyfaith
Administrator
0
09-08-2023, 05:24 PM
#19
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
rektbyfaith
09-08-2023, 05:24 PM #19

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

rektbyfaith
Administrator
0
09-08-2023, 05:24 PM
#20
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 Smile))
rektbyfaith
09-08-2023, 05:24 PM #20

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 Smile))

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)