logging.cc 500 B

123456789101112131415161718
  1. // Copyright 2021 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.
  4. #include "remoting/base/logging.h"
  5. #include "base/command_line.h"
  6. namespace remoting {
  7. void InitHostLoggingCommon() {
  8. #ifdef WEBRTC_VERBOSE_LOGGING
  9. base::CommandLine::ForCurrentProcess()->AppendSwitchASCII("vmodule",
  10. "*/webrtc/*=1");
  11. #endif
  12. }
  13. } // namespace remoting