root/sync/util/logging.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. VlogIsOnForLocation

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "sync/util/logging.h"

#include "base/location.h"

namespace syncer {

bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
                         int verbose_level) {
  return (verbose_level <=
          logging::GetVlogLevelHelper(
              from_here.file_name(), ::strlen(from_here.file_name())));
}

}  // namespace syncer

/* [<][>][^][v][top][bottom][index][help] */