summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/logging_constants.h
blob: 8388483d81201d9faf3daa3cc8e0d9d2c28fb4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef EXTENSIONS_COMMON_LOGGING_CONSTANTS_H_
#define EXTENSIONS_COMMON_LOGGING_CONSTANTS_H_

#include "base/logging.h"

// Separate from constants.h to avoid pulling base/logging.h into many files.

namespace extension_misc {

// The minimum severity of a log or error in order to report it to the browser.
constexpr logging::LogSeverity kMinimumSeverityToReportError =
    logging::LOG_WARNING;

}  // namespace extension_misc

#endif  // EXTENSIONS_COMMON_LOGGING_CONSTANTS_H_