diff options
| author | Nils Maier <maierman@web.de> | 2014-05-29 23:51:48 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-06-10 11:28:34 +0200 |
| commit | 2b02fac2d5f677dc6d099f550fd94fe8dac18bb2 (patch) | |
| tree | 5fc136be71f945d3ee2943a1aa2f28bf0bdaaae1 /src/FeatureConfig.h | |
| parent | 570bc24fb98d72d1bce9261fdc29139224ec86ec (diff) | |
Improve compiler/platform/libs information in logs
Add and use usedCompilerAndPlatform(). This adds compiler information to
INFO logs and the --version output, and may be helpful when trying to
diagnose/reproduce user-reported problems.
Also make INFO logs include usedLibs() output.
Closes #235
Diffstat (limited to 'src/FeatureConfig.h')
| -rw-r--r-- | src/FeatureConfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FeatureConfig.h b/src/FeatureConfig.h index 6f33871a..9c0a2798 100644 --- a/src/FeatureConfig.h +++ b/src/FeatureConfig.h @@ -67,6 +67,12 @@ const char* strSupportedFeature(int feature); // aria2. std::string usedLibs(); +// Returns a summary string of the used compiler/platform. +std::string usedCompilerAndPlatform(); + +// Returns the system information about the OS this binary is running on. +std::string getOperatingSystemInfo(); + } // namespace aria2 #endif // D_FEATURE_CONFIG_H |
