mirror of
https://github.com/EQEmu/eqemu-docs-v2.git
synced 2026-08-08 17:45:09 -04:00
Update logging.md
This commit is contained in:
parent
073caed136
commit
be05748ec3
1 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue