Home | History | Annotate | Download | only in compat
      1 // Copyright (c) 2017 The Chromium OS 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 
      5 #include "log_level.h"
      6 
      7 #include "base/logging.h"
      8 
      9 namespace quipper {
     10 
     11 void SetVerbosityLevel(int level) {
     12   // The internal scale used by base/logging.h is inverted.
     13   logging::SetMinLogLevel(-level);
     14 }
     15 
     16 }  // namespace quipper
     17