Skip to content

Commit c6ae926

Browse files
committed
removed splodg forever
1 parent 355a5a1 commit c6ae926

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

src/hakoc/CMakeLists.txt

-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ project(hako-client
44
LANGUAGES C CXX
55
)
66

7-
find_package(spdlog REQUIRED)
87
find_package(PythonLibs REQUIRED)
98
include_directories(${PYTHON_INCLUDE_DIRS})
109

@@ -51,13 +50,11 @@ target_link_libraries(
5150
hakoc
5251
hako
5352
-pthread
54-
spdlog::spdlog
5553
)
5654

5755
target_link_libraries(
5856
shakoc
5957
-pthread
60-
spdlog::spdlog
6158
${PYTHON_LIBRARIES}
6259
)
6360

src/hakoc/src/hako_client.cpp

+10-10
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ int hako_client_create_pdu_channel(HakoPduChannelIdType channel_id, size_t pdu_s
3939
return -1;
4040
}
4141
} catch (std::exception *e) {
42-
hako::logger::get("core")->error(e->what());
42+
//hako::logger::get("core")->error(e->what());
4343
return -1;
4444
}
4545
}
@@ -53,7 +53,7 @@ int hako_client_start_feedback()
5353
return -1;
5454
}
5555
} catch (std::exception *e) {
56-
hako::logger::get("core")->error(e->what());
56+
//hako::logger::get("core")->error(e->what());
5757
return -1;
5858
}
5959
}
@@ -69,7 +69,7 @@ int hako_client_pdu_is_dirty(const char* asset_name, HakoPduChannelIdType channe
6969
return -1;
7070
}
7171
} catch (std::exception *e) {
72-
hako::logger::get("core")->error(e->what());
72+
//hako::logger::get("core")->error(e->what());
7373
return -1;
7474
}
7575
}
@@ -84,7 +84,7 @@ int hako_client_write_pdu(const char* asset_name, HakoPduChannelIdType channel_i
8484
return -1;
8585
}
8686
} catch (std::exception *e) {
87-
hako::logger::get("core")->error(e->what());
87+
//hako::logger::get("core")->error(e->what());
8888
return -1;
8989
}
9090
}
@@ -100,7 +100,7 @@ int hako_client_read_pdu(const char* asset_name, HakoPduChannelIdType channel_id
100100
return -1;
101101
}
102102
} catch (std::exception *e) {
103-
hako::logger::get("core")->error(e->what());
103+
//hako::logger::get("core")->error(e->what());
104104
return -1;
105105
}
106106
}
@@ -111,7 +111,7 @@ void hako_client_notify_read_pdu_done(const char* asset_name)
111111
std::string hako_client_name(asset_name);
112112
hako_asset->notify_read_pdu_done(hako_client_name);
113113
} catch (std::exception *e) {
114-
hako::logger::get("core")->error(e->what());
114+
//hako::logger::get("core")->error(e->what());
115115
return;
116116
}
117117
}
@@ -122,7 +122,7 @@ void hako_client_notify_write_pdu_done(const char* asset_name)
122122
std::string hako_client_name(asset_name);
123123
hako_asset->notify_write_pdu_done(hako_client_name);
124124
} catch (std::exception *e) {
125-
hako::logger::get("core")->error(e->what());
125+
//hako::logger::get("core")->error(e->what());
126126
return;
127127
}
128128
}
@@ -138,7 +138,7 @@ int hako_client_is_pdu_sync_mode(const char* asset_name)
138138
return -1;
139139
}
140140
} catch (std::exception *e) {
141-
hako::logger::get("core")->error(e->what());
141+
//hako::logger::get("core")->error(e->what());
142142
return -1;
143143
}
144144
}
@@ -153,7 +153,7 @@ int hako_client_is_simulation_mode()
153153
return -1;
154154
}
155155
} catch (std::exception *e) {
156-
hako::logger::get("core")->error(e->what());
156+
//hako::logger::get("core")->error(e->what());
157157
return -1;
158158
}
159159
}
@@ -168,7 +168,7 @@ int hako_client_is_pdu_created()
168168
return -1;
169169
}
170170
} catch (std::exception *e) {
171-
hako::logger::get("core")->error(e->what());
171+
//hako::logger::get("core")->error(e->what());
172172
return -1;
173173
}
174174
}

src/proxy/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ project(hako-proxy
44
LANGUAGES C CXX
55
)
66

7-
find_package(spdlog REQUIRED)
87

98
add_executable(
109
hako-proxy
@@ -15,7 +14,6 @@ target_link_libraries(
1514
hako-proxy
1615
hako
1716
-pthread
18-
spdlog::spdlog
1917
)
2018

2119

0 commit comments

Comments
 (0)