logging_constants.h 647 B

1234567891011121314151617181920
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef EXTENSIONS_COMMON_LOGGING_CONSTANTS_H_
  5. #define EXTENSIONS_COMMON_LOGGING_CONSTANTS_H_
  6. #include "base/logging.h"
  7. // Separate from constants.h to avoid pulling base/logging.h into many files.
  8. namespace extension_misc {
  9. // The minimum severity of a log or error in order to report it to the browser.
  10. constexpr logging::LogSeverity kMinimumSeverityToReportError =
  11. logging::LOG_WARNING;
  12. } // namespace extension_misc
  13. #endif // EXTENSIONS_COMMON_LOGGING_CONSTANTS_H_