[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / platform / android / utils / AndroidInterfaceForCLog.cpp
blob26a553f54fe00e6f76fbc1b2f1d834ef10e61316
1 /*
2 * Copyright (C) 2020 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #include "platform/android/utils/AndroidInterfaceForCLog.h"
11 #include "CompileInfo.h"
13 #include <spdlog/sinks/android_sink.h>
14 #include <spdlog/sinks/dist_sink.h>
16 std::unique_ptr<IPlatformLog> IPlatformLog::CreatePlatformLog()
18 return std::make_unique<CAndroidInterfaceForCLog>();
21 void CAndroidInterfaceForCLog::AddSinks(
22 std::shared_ptr<spdlog::sinks::dist_sink<std::mutex>> distributionSink) const
24 distributionSink->add_sink(
25 std::make_shared<spdlog::sinks::android_sink_st>(CCompileInfo::GetAppName()));