Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / sync / util / logging.cc
blob272c72cf55efea5d22ee9b1bc635f6d5644854cf
1 // Copyright (c) 2012 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.
5 #include "sync/util/logging.h"
7 #include "base/location.h"
9 namespace syncer {
11 bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
12 int verbose_level) {
13 return (verbose_level <=
14 logging::GetVlogLevelHelper(
15 from_here.file_name(), ::strlen(from_here.file_name())));
18 } // namespace syncer