chromium/base/vlog.cc

// Copyright 2010 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/vlog.h"

#include <stddef.h>

#include <ostream>
#include <string_view>
#include <utility>

#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"

namespace logging {

const int VlogInfo::kDefaultVlogLevel =;

VlogInfo::VmodulePattern::VmodulePattern(const std::string& pattern)
    :{}

VlogInfo::VmodulePattern::VmodulePattern()
    :{}

// static
std::vector<VlogInfo::VmodulePattern> VlogInfo::ParseVmoduleLevels(
    const std::string& vmodule_switch) {}

VlogInfo::VlogInfo(const std::string& v_switch,
                   const std::string& vmodule_switch,
                   int* min_log_level)
    :{}

VlogInfo::~VlogInfo() = default;

namespace {

// Given a path, returns the basename with the extension chopped off
// (and any -inl suffix).  We avoid using FilePath to minimize the
// number of dependencies the logging system has.
std::string_view GetModule(std::string_view file) {}

}  // namespace

int VlogInfo::GetVlogLevel(std::string_view file) const {}

void VlogInfo::SetMaxVlogLevel(int level) {}

int VlogInfo::GetMaxVlogLevel() const {}

VlogInfo::VlogInfo(std::vector<VmodulePattern> vmodule_levels,
                   int* min_log_level)
    :{}

VlogInfo* VlogInfo::WithSwitches(const std::string& vmodule_switch) const {}

bool MatchVlogPattern(std::string_view string, std::string_view vlog_pattern) {}

}  // namespace logging