Update logging.md

This commit is contained in:
JJ 2026-01-10 17:56:57 -05:00 committed by GitHub
parent 073caed136
commit be05748ec3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,7 +123,7 @@ Logging aliases are maintained in **eqemu_logsys_log_aliases.h**
For development purposes, you may want to add a new category, this is very simple to do
An example of a category being added can be seen at this commit: [How to add a category](https://github.com/EQEmu/Server/commit/a46c0ee7e2dcf094c4b0e4d9cb91525443c19c5b).
An example of a category being added can be seen at this commit: [How to add a category](https://github.com/EQEmu/EQEmu/commit/a46c0ee7e2dcf094c4b0e4d9cb91525443c19c5b).
Once you've added the code to the mentioned sections, the next time world boots world will inject the logging categories if they don't exist in the table.
@ -131,7 +131,7 @@ Once you've added the code to the mentioned sections, the next time world boots
In **eqemu_logsys.cpp** you can set default values for the log system initialization routine
[https://github.com/EQEmu/Server/blob/master/common/eqemu_logsys.cpp](https://github.com/EQEmu/Server/blob/master/common/eqemu_logsys.cpp)
[https://github.com/EQEmu/EQEmu/blob/master/common/eqemu_logsys.cpp](https://github.com/EQEmu/EQEmu/blob/master/common/eqemu_logsys.cpp)
=== "eqemu_logsys.cpp"
@ -186,4 +186,4 @@ Using said alias then becomes very simple
```cpp
LogSaylink("Loaded [{}] saylinks into cache", saylinks.size());
```
```