Skip to content

Commit

Permalink
chore: Add device type and SDK version to debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastahajek committed Dec 24, 2020
1 parent 3f5e401 commit 2322db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/InfluxDbClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ void InfluxDBClient::setConnectionParamsV1(const char *serverUrl, const char *db
bool InfluxDBClient::init() {
INFLUXDB_CLIENT_DEBUG("[D] Init\n");
INFLUXDB_CLIENT_DEBUG("[D] Library version: " INFLUXDB_CLIENT_VERSION "\n");
INFLUXDB_CLIENT_DEBUG("[D] Device : " INFLUXDB_CLIENT_PLATFORM "\n");
INFLUXDB_CLIENT_DEBUG("[D] SDK version: " INFLUXDB_CLIENT_PLATFORM_VERSION "\n");
INFLUXDB_CLIENT_DEBUG("[D] Server url: %s\n", _serverUrl.c_str());
INFLUXDB_CLIENT_DEBUG("[D] Org: %s\n", _org.c_str());
INFLUXDB_CLIENT_DEBUG("[D] Bucket: %s\n", _bucket.c_str());
Expand Down

0 comments on commit 2322db2

Please sign in to comment.