Skip to content

Commit bd0fec7

Browse files
committed
add zmq version print
1 parent bbaf77a commit bd0fec7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

infinite_sense_core/src/infinite_sense.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Synchronizer::Synchronizer() {
1313
<< " █ ▐▛▚▖▐▌▐▌ █ ▐▛▚▖▐▌ █ █ ▐▌ ▐▌ ▐▌ ▐▛▚▖▐▌▐▌ ▐▌ " << "\n"
1414
<< " █ ▐▌ ▝▜▌▐▛▀▀▘ █ ▐▌ ▝▜▌ █ █ ▐▛▀▀▘ ▝▀▚▖▐▛▀▀▘▐▌ ▝▜▌ ▝▀▚▖▐▛▀▀▘" << "\n"
1515
<< " ▗▄█▄▖▐▌ ▐▌▐▌ ▗▄█▄▖▐▌ ▐▌▗▄█▄▖ █ ▐▙▄▄▖▗▄▄▞▘▐▙▄▄▖▐▌ ▐▌▗▄▄▞▘▐▙▄▄▖";
16+
int major,minor,patch;
17+
zmq_version(&major,&minor,&patch);
18+
LOG(INFO) << "ZeroMQ version: " << major << "." << minor << "." << patch;
1619
};
1720
void Synchronizer::SetLogPath(const std::string& path) { SetLogDestination(FATAL, path.c_str()); }
1821
void Synchronizer::SetNetLink(std::string net_dev, const unsigned int port) {

0 commit comments

Comments
 (0)