mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -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
|
||||
|
||||
#main = true
|
||||
#qt_translator = true
|
||||
#window_main.* = true
|
||||
#release_channel = true
|
||||
#spoiler_background_updater = true
|
||||
#theme_manager = true
|
||||
#sound_engine = true
|
||||
#tapped_out_interface = true
|
||||
qt_translator = false
|
||||
window_main.* = false
|
||||
release_channel = false
|
||||
spoiler_background_updater = false
|
||||
theme_manager = false
|
||||
sound_engine = false
|
||||
tapped_out_interface = false
|
||||
|
||||
#tab_game = true
|
||||
#tab_message = true
|
||||
|
|
@ -50,10 +50,10 @@
|
|||
#card_picture_loader.card_back_cache_fail = true
|
||||
#card_picture_loader.picture_to_load = true
|
||||
#deck_loader = true
|
||||
#card_database = true
|
||||
#card_database.loading = true
|
||||
#card_database.loading.success_or_failure = true
|
||||
#cockatrice_xml.* = true
|
||||
card_database = false
|
||||
card_database.loading = false
|
||||
card_database.loading.success_or_failure = true
|
||||
cockatrice_xml.* = false
|
||||
#cockatrice_xml.xml_3_parser = true
|
||||
#cockatrice_xml.xml_4_parser = true
|
||||
#card_info = true
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ see [Logging Configuration](#logging-configuration).
|
|||
# Logging Configuration
|
||||
|
||||
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++
|
||||
#ifdef Q_OS_APPLE
|
||||
|
|
@ -124,6 +124,24 @@ card_picture_loader.debug = 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
|
||||
|
||||
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