kodi
xbmc
platform
posix
utils
PosixInterfaceForCLog.h
1
/*
2
* Copyright (C) 2020 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include "utils/IPlatformLog.h"
12
13
class
CPosixInterfaceForCLog
:
public
IPlatformLog
14
{
15
public
:
16
CPosixInterfaceForCLog
() =
default
;
17
virtual
~
CPosixInterfaceForCLog
()
override
=
default
;
18
19
spdlog_filename_t GetLogFilename(
const
std::string& filename)
const override
{
return
filename; }
20
void
AddSinks(
21
std::shared_ptr<
spdlog::sinks::dist_sink<std::mutex>
> distributionSink)
const override
;
22
};
CPosixInterfaceForCLog
Definition:
PosixInterfaceForCLog.h:13
IPlatformLog
Definition:
IPlatformLog.h:30
spdlog::sinks::dist_sink
Definition:
IPlatformLog.h:26
Generated by
1.8.13