diff options
author | Ľubomír Kučera | 2023-11-17 18:31:22 +0100 |
---|---|---|
committer | Ľubomír Kučera | 2023-11-17 18:31:22 +0100 |
commit | 70636bc5b1d0533a32914d58e3f72221e96d0e3c (patch) | |
tree | 6914bd771b895b37132809a05fd3c28c3e6f9d8b /disable-logging.patch | |
parent | baa74b3564a6a2fedfae0e3d69a101ab296c3376 (diff) | |
download | aur-70636bc5b1d0533a32914d58e3f72221e96d0e3c.tar.gz |
Disable logging
Diffstat (limited to 'disable-logging.patch')
-rw-r--r-- | disable-logging.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/disable-logging.patch b/disable-logging.patch new file mode 100644 index 000000000000..7af6ae764ca1 --- /dev/null +++ b/disable-logging.patch @@ -0,0 +1,12 @@ +--- base/logging.h 2023-11-17 17:55:03.437368494 +0100 ++++ base/logging.h 2023-11-17 17:56:23.320314373 +0100 +@@ -440,8 +440,7 @@ + // As special cases, we can assume that LOG_IS_ON(FATAL) always holds. Also, + // LOG_IS_ON(DFATAL) always holds in debug mode. In particular, CHECK()s will + // always fire if they fail. +-#define LOG_IS_ON(severity) \ +- (::logging::ShouldCreateLogMessage(::logging::LOGGING_##severity)) ++#define LOG_IS_ON(severity) false + + #if !BUILDFLAG(USE_RUNTIME_VLOG) + |