feat(docs): add note about logging env variables in man page
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
c85867395d
commit
ee3e65d759
@ -425,7 +425,6 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
||||
}
|
||||
qInstallMessageHandler(appDebugOutput);
|
||||
|
||||
// TODO: Set filter rules based on CLI arguments
|
||||
qSetMessagePattern(
|
||||
"%{time process}" " "
|
||||
"%{if-debug}D%{endif}" "%{if-info}I%{endif}" "%{if-warning}W%{endif}" "%{if-critical}C%{endif}" "%{if-fatal}F%{endif}"
|
||||
|
@ -41,6 +41,24 @@ Here are the current features of Prism Launcher.
|
||||
*-a, --profile*=PROFILE
|
||||
Use the account specified by PROFILE (only valid in combination with --launch).
|
||||
|
||||
# ENVIRONMENT
|
||||
|
||||
The behavior of the launcher can be customized by the following environment
|
||||
variables, besides other common Qt variables:
|
||||
|
||||
*QT_LOGGING_RULES*
|
||||
Specifies which logging categories are shown in the logs. One can
|
||||
enable/disable multiple categories by separating them with a semicolon (;).
|
||||
|
||||
The specific syntax, and alternatives to this setting, can be found at
|
||||
https://doc.qt.io/qt-6/qloggingcategory.html#configuring-categories.
|
||||
|
||||
*QT_MESSAGE_PATTERN*
|
||||
Specifies the format in which the console output will be shown.
|
||||
|
||||
Available options, as well as syntax, can be viewed at
|
||||
https://doc.qt.io/qt-6/qtglobal.html#qSetMessagePattern.
|
||||
|
||||
# EXIT STATUS
|
||||
|
||||
*0*
|
||||
|
Loading…
Reference in New Issue
Block a user