]> git.ipfire.org Git - thirdparty/ccache.git/commit
feat: Allow specifying debug level (#1312)
authordsilakov <dsilakov@gmail.com>
Wed, 2 Aug 2023 11:24:49 +0000 (14:24 +0300)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2023 11:24:49 +0000 (13:24 +0200)
commitf8faf9b4ffb190fcf8dfc3d9e7dc55931eac4dc7
treea7f7b21c0442046606e9dfcf6f436fefc1f54483
parent689168c292f1ed26c5f4a3070aeb649dad7facb5
feat: Allow specifying debug level (#1312)

Allow specifying debug level via a debug_level option or CCACHE_DEBUGLEVEL
environment variable.

With debug_level=2 (default), ccache behavior's in debug mode is not changed.

With debug_level=1, ccache will only dump *.ccache-log files (and not the
*input* ones). This is useful for getting per-file caching results.
doc/MANUAL.adoc
src/Config.cpp
src/Config.hpp
src/ccache.cpp
unittest/test_Config.cpp