SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
logger_observer.hpp
1//
2// © NTT DOCOMO BUSINESS, Inc. All Rights Reserved.
3//
4
5#ifndef SKYWAY_GLOBAL_INTERFACE_LOGGER_OBSERVER_HPP
6#define SKYWAY_GLOBAL_INTERFACE_LOGGER_OBSERVER_HPP
7
8namespace skyway {
9namespace global {
10namespace interface {
11
13public:
14 struct SdkLog {
15 std::string level;
16 std::string message;
17 std::string filename;
18 std::string function;
19 int line;
20 };
21
22 virtual ~LoggerObserver() = default;
23
24 virtual void OnLog(const std::string& log_level,
25 const std::string& message,
26 const std::string& filename,
27 const std::string& function,
28 int line) = 0;
29 virtual void OnLogs(std::vector<SdkLog> sdkLogs) = 0;
30};
31
32} // namespace interface
33} // namespace global
34} // namespace skyway
35
36#endif // SKYWAY_GLOBAL_INTERFACE_LOGGER_OBSERVER_HPP
Definition logger_observer.hpp:12
Definition logger_observer.hpp:14