blob: aa5da42d8e2d57f50c4ca46ad2d201d3d66f353d [file] [log] [blame]
henrike@webrtc.org269fb4b2014-10-28 22:20:11 +00001/*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#ifndef P2P_BASE_COMMON_H_
12#define P2P_BASE_COMMON_H_
henrike@webrtc.org269fb4b2014-10-28 22:20:11 +000013
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020014#include "rtc_base/logging.h"
henrike@webrtc.org269fb4b2014-10-28 22:20:11 +000015
16// Common log description format for jingle messages
Mirko Bonadei675513b2017-11-09 11:09:25 +010017#define LOG_J(sev, obj) RTC_LOG(sev) << "Jingle:" << obj->ToString() << ": "
18#define LOG_JV(sev, obj) RTC_LOG_V(sev) << "Jingle:" << obj->ToString() << ": "
henrike@webrtc.org269fb4b2014-10-28 22:20:11 +000019
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020020#endif // P2P_BASE_COMMON_H_