Changeset View
Changeset View
Standalone View
Standalone View
kstars/auxiliary/ksutils.cpp
Show First 20 Lines • Show All 1023 Lines • ▼ Show 20 Line(s) | 1023 | { | |||
---|---|---|---|---|---|
1024 | QString rules = QString("org.kde.kstars.ekos.debug=%1\n" | 1024 | QString rules = QString("org.kde.kstars.ekos.debug=%1\n" | ||
1025 | "org.kde.kstars.indi.debug=%2\n" | 1025 | "org.kde.kstars.indi.debug=%2\n" | ||
1026 | "org.kde.kstars.fits.debug=%3\n" | 1026 | "org.kde.kstars.fits.debug=%3\n" | ||
1027 | "org.kde.kstars.ekos.capture.debug=%4\n" | 1027 | "org.kde.kstars.ekos.capture.debug=%4\n" | ||
1028 | "org.kde.kstars.ekos.focus.debug=%5\n" | 1028 | "org.kde.kstars.ekos.focus.debug=%5\n" | ||
1029 | "org.kde.kstars.ekos.guide.debug=%6\n" | 1029 | "org.kde.kstars.ekos.guide.debug=%6\n" | ||
1030 | "org.kde.kstars.ekos.align.debug=%7\n" | 1030 | "org.kde.kstars.ekos.align.debug=%7\n" | ||
1031 | "org.kde.kstars.ekos.mount.debug=%8\n" | 1031 | "org.kde.kstars.ekos.mount.debug=%8\n" | ||
1032 | "org.kde.kstars.ekos.scheduler.debug=%9\n" | 1032 | "org.kde.kstars.ekos.scheduler.debug=%9\n").arg( | ||
1033 | "org.kde.kstars.debug=%1").arg( | | |||
1034 | Options::verboseLogging() ? "true" : "false", | 1033 | Options::verboseLogging() ? "true" : "false", | ||
1035 | Options::iNDILogging() ? "true" : "false", | 1034 | Options::iNDILogging() ? "true" : "false", | ||
1036 | Options::fITSLogging() ? "true" : "false", | 1035 | Options::fITSLogging() ? "true" : "false", | ||
1037 | Options::captureLogging() ? "true" : "false", | 1036 | Options::captureLogging() ? "true" : "false", | ||
1038 | Options::focusLogging() ? "true" : "false", | 1037 | Options::focusLogging() ? "true" : "false", | ||
1039 | Options::guideLogging() ? "true" : "false", | 1038 | Options::guideLogging() ? "true" : "false", | ||
1040 | Options::alignmentLogging() ? "true" : "false", | 1039 | Options::alignmentLogging() ? "true" : "false", | ||
1041 | Options::mountLogging() ? "true" : "false", | 1040 | Options::mountLogging() ? "true" : "false", | ||
1042 | Options::schedulerLogging() ? "true" : "false" | 1041 | Options::schedulerLogging() ? "true" : "false") | ||
1043 | ); | 1042 | .append(QString("org.kde.kstars.ekos.observatory.debug=%2\n" | ||
mutlaqja: Why is this here and not with the rest of the modules above? | |||||
arg can carry at most 9 arguments. Therefore I had to split it. wreissenberger: arg can carry at most 9 arguments. Therefore I had to split it. | |||||
1043 | "org.kde.kstars.debug=%1").arg( | ||||
1044 | Options::verboseLogging() ? "true" : "false", | ||||
1045 | Options::observatoryLogging() ? "true" : "false")); | ||||
1044 | 1046 | | |||
1045 | QLoggingCategory::setFilterRules(rules); | 1047 | QLoggingCategory::setFilterRules(rules); | ||
1046 | } | 1048 | } | ||
1047 | 1049 | | |||
1048 | /** | 1050 | /** | ||
1049 | This method provides a centralized location for the default paths to important external files used in the Options | 1051 | This method provides a centralized location for the default paths to important external files used in the Options | ||
1050 | on different operating systems. Note that on OS X, if the user builds the app without indi, astrometry, and xplanet internally | 1052 | on different operating systems. Note that on OS X, if the user builds the app without indi, astrometry, and xplanet internally | ||
1051 | then the options below will be used. If the user drags the app from a dmg and has to install the KStars data directory, | 1053 | then the options below will be used. If the user drags the app from a dmg and has to install the KStars data directory, | ||
▲ Show 20 Lines • Show All 402 Lines • Show Last 20 Lines |
Why is this here and not with the rest of the modules above?