mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
[Doxygen] Add another example.
Took 7 minutes
This commit is contained in:
parent
3c452a7146
commit
4fe271ab68
2 changed files with 30 additions and 12 deletions
|
|
@ -10,13 +10,13 @@
|
||||||
# or set <category> = false to disable logging
|
# or set <category> = false to disable logging
|
||||||
|
|
||||||
#main = true
|
#main = true
|
||||||
#qt_translator = true
|
qt_translator = false
|
||||||
#window_main.* = true
|
window_main.* = false
|
||||||
#release_channel = true
|
release_channel = false
|
||||||
#spoiler_background_updater = true
|
spoiler_background_updater = false
|
||||||
#theme_manager = true
|
theme_manager = false
|
||||||
#sound_engine = true
|
sound_engine = false
|
||||||
#tapped_out_interface = true
|
tapped_out_interface = false
|
||||||
|
|
||||||
#tab_game = true
|
#tab_game = true
|
||||||
#tab_message = true
|
#tab_message = true
|
||||||
|
|
@ -50,10 +50,10 @@
|
||||||
#card_picture_loader.card_back_cache_fail = true
|
#card_picture_loader.card_back_cache_fail = true
|
||||||
#card_picture_loader.picture_to_load = true
|
#card_picture_loader.picture_to_load = true
|
||||||
#deck_loader = true
|
#deck_loader = true
|
||||||
#card_database = true
|
card_database = false
|
||||||
#card_database.loading = true
|
card_database.loading = false
|
||||||
#card_database.loading.success_or_failure = true
|
card_database.loading.success_or_failure = true
|
||||||
#cockatrice_xml.* = true
|
cockatrice_xml.* = false
|
||||||
#cockatrice_xml.xml_3_parser = true
|
#cockatrice_xml.xml_3_parser = true
|
||||||
#cockatrice_xml.xml_4_parser = true
|
#cockatrice_xml.xml_4_parser = true
|
||||||
#card_info = true
|
#card_info = true
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ see [Logging Configuration](#logging-configuration).
|
||||||
# Logging Configuration
|
# Logging Configuration
|
||||||
|
|
||||||
For configuring our logging, we use the qtlogging.ini, located under cockatrice/resources/config/qtlogging.ini, which is
|
For configuring our logging, we use the qtlogging.ini, located under cockatrice/resources/config/qtlogging.ini, which is
|
||||||
baked into the application in release version and set as the QT_LOGGING_CONF environment variable.
|
baked into the application in release version and set as the QT_LOGGING_CONF environment variable in main.cpp.
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
#ifdef Q_OS_APPLE
|
#ifdef Q_OS_APPLE
|
||||||
|
|
@ -124,6 +124,24 @@ card_picture_loader.debug = true
|
||||||
card_picture_loader.worker = true
|
card_picture_loader.worker = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
[Rules]
|
||||||
|
# Turn off some noisy and irrelevant startup logging for local development
|
||||||
|
*.debug = false
|
||||||
|
|
||||||
|
qt_translator = false
|
||||||
|
window_main.* = false
|
||||||
|
release_channel = false
|
||||||
|
spoiler_background_updater = false
|
||||||
|
theme_manager = false
|
||||||
|
sound_engine = false
|
||||||
|
tapped_out_interface = false
|
||||||
|
card_database = false
|
||||||
|
card_database.loading = false
|
||||||
|
card_database.loading.success_or_failure = true
|
||||||
|
cockatrice_xml.* = false
|
||||||
|
```
|
||||||
|
|
||||||
# Logging Setup
|
# Logging Setup
|
||||||
|
|
||||||
This is achieved through our logging setup in @ref main.cpp, where we set the message pattern and install a custom
|
This is achieved through our logging setup in @ref main.cpp, where we set the message pattern and install a custom
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue