ArmarXLog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <SemanticObjectRelations/Hooks/Log.h>
4
5
#include <
ArmarXCore/core/logging/Logging.h
>
6
7
8
namespace
armarx::semantic
9
{
10
11
class
ArmarXLog
:
public
semrel::LogInterface,
public
armarx::Logging
12
{
13
14
public
:
15
static
void
setAsImplementation
(
const
std::string&
tag
);
16
17
ArmarXLog
(
const
std::string&
tag
=
""
);
18
19
void
log
(semrel::LogMetaInfo info,
const
std::string&
message
)
override
;
20
21
private
:
22
armarx::LogSenderPtr
getLogSender
(
const
semrel::LogMetaInfo& info);
23
armarx::MessageTypeT
logLevelToMessageType(semrel::LogLevel level);
24
25
};
26
27
}
28
armarx::MessageTypeT
MessageTypeT
Definition:
LogSender.h:45
armarx::semantic::ArmarXLog::log
void log(semrel::LogMetaInfo info, const std::string &message) override
Definition:
ArmarXLog.cpp:20
armarx::semantic::ArmarXLog::setAsImplementation
static void setAsImplementation(const std::string &tag)
Definition:
ArmarXLog.cpp:8
message
message(STATUS "Boost-Library-Dir: " "${Boost_LIBRARY_DIRS}") message(STATUS "Boost-LIBRARIES
Definition:
CMakeLists.txt:8
armarx::semantic::ArmarXLog::ArmarXLog
ArmarXLog(const std::string &tag="")
Definition:
ArmarXLog.cpp:13
armarx::semantic::ArmarXLog
Definition:
ArmarXLog.h:11
armarx::Logging::getLogSender
const LogSenderPtr & getLogSender() const
Retrieve log sender.
Definition:
Logging.cpp:97
armarx::semantic
Definition:
ShapesSupportRelations.cpp:32
armarx::Logging
Base Class for all Logging classes.
Definition:
Logging.h:232
armarx::LogSenderPtr
std::shared_ptr< LogSender > LogSenderPtr
Typedef of std::shared_ptr for convenience.
Definition:
Logging.h:217
armarx::Logging::tag
LogTag tag
Definition:
Logging.h:271
Logging.h
VisionX
libraries
SemanticObjectRelations
hooks
ArmarXLog.h
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17