2018-02-07 09:38:31 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "logging/rtc_event_log/rtc_event_log.h"
|
|
|
|
|
|
2018-10-18 14:20:44 +02:00
|
|
|
#include "absl/memory/memory.h"
|
|
|
|
|
|
2018-02-07 09:38:31 +01:00
|
|
|
namespace webrtc {
|
|
|
|
|
|
2018-10-18 14:20:44 +02:00
|
|
|
std::unique_ptr<RtcEventLog> RtcEventLog::CreateNull() {
|
|
|
|
|
return absl::make_unique<RtcEventLogNullImpl>();
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-07 09:38:31 +01:00
|
|
|
bool RtcEventLogNullImpl::StartLogging(
|
|
|
|
|
std::unique_ptr<RtcEventLogOutput> output,
|
|
|
|
|
int64_t output_period_ms) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace webrtc
|