Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
log_backend.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_core/target_android/roc_core/log_backend.h
10
//! @brief Log backend.
11
12
#ifndef ROC_CORE_LOG_BACKEND_H_
13
#define ROC_CORE_LOG_BACKEND_H_
14
15
#include "
roc_core/noncopyable.h
"
16
17
namespace
roc
{
18
namespace
core {
19
20
struct
LogMessage;
21
22
//! Log backend.
23
class
LogBackend
:
public
NonCopyable
<> {
24
public
:
25
LogBackend
();
26
27
//! Handle log message.
28
void
handle
(
const
LogMessage
& msg);
29
};
30
31
}
// namespace core
32
}
// namespace roc
33
34
#endif
// ROC_CORE_LOG_BACKEND_H_
roc::core::LogBackend
Log backend.
Definition:
log_backend.h:23
roc::core::LogBackend::handle
void handle(const LogMessage &msg)
Handle log message.
roc::core::NonCopyable
Base class for non-copyable objects.
Definition:
noncopyable.h:23
roc
Root namespace.
noncopyable.h
Non-copyable object.
roc::core::LogMessage
Log message.
Definition:
log.h:68
roc_core
target_android
roc_core
log_backend.h
Generated by
1.9.1