blob: a82e3ac8ac65662fa808fd9a46ad163a5bc69227 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "log_listener_test_helpers.h"
namespace netemul {
namespace testing {
fuchsia::logger::LogMessage CreateLogMessage(std::vector<std::string> tags, std::string message) {
return fuchsia::logger::LogMessage{.pid = kDummyPid,
.tid = kDummyTid,
.time = kDummyTime,
.severity = kDummySeverity,
.dropped_logs = 0,
.tags = std::move(tags),
.msg = std::move(message)};
}
} // namespace testing
} // namespace netemul