blob: b48fe9234fd74fc72a8911ff4baac55a71604bda [file] [log] [blame]
Danil Chapovalov2a5ce2b2018-02-07 09:38:31 +01001/*
2 * Copyright (c) 2018 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
11#include "logging/rtc_event_log/rtc_event_log.h"
12
Danil Chapovalov608298b2018-10-18 14:20:44 +020013#include "absl/memory/memory.h"
14
Danil Chapovalov2a5ce2b2018-02-07 09:38:31 +010015namespace webrtc {
16
Danil Chapovalov608298b2018-10-18 14:20:44 +020017std::unique_ptr<RtcEventLog> RtcEventLog::CreateNull() {
18 return absl::make_unique<RtcEventLogNullImpl>();
19}
20
Danil Chapovalov2a5ce2b2018-02-07 09:38:31 +010021bool RtcEventLogNullImpl::StartLogging(
22 std::unique_ptr<RtcEventLogOutput> output,
23 int64_t output_period_ms) {
24 return false;
25}
26
27} // namespace webrtc