Skip to content

Commit 5a85698

Browse files
committed
logs updated
1 parent 1ce0a80 commit 5a85698

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/countly.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ void Countly::flushEvents(std::chrono::seconds timeout) {
370370

371371
bool Countly::beginSession() {
372372
mutex.lock();
373-
log(Countly::LogLevel::DEBUG, "[Countly] [beginSession]");
373+
log(Countly::LogLevel::DEBUG, "[Countly][beginSession]");
374374
if (began_session) {
375375
mutex.unlock();
376376
return true;
@@ -410,7 +410,7 @@ bool Countly::beginSession() {
410410
}
411411

412412
bool Countly::updateSession() {
413-
log(Countly::LogLevel::DEBUG, "Countly::updateSession");
413+
log(Countly::LogLevel::DEBUG, "[Countly][updateSession]");
414414

415415
mutex.lock();
416416
if (!began_session) {
@@ -534,7 +534,7 @@ bool Countly::updateSession() {
534534
}
535535

536536
bool Countly::endSession() {
537-
log(Countly::LogLevel::DEBUG, "[Countly] [endSession]");
537+
log(Countly::LogLevel::DEBUG, "[Countly][endSession]");
538538
const std::chrono::system_clock::time_point now = Countly::getTimestamp();
539539
const auto timestamp = std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch());
540540
const auto duration = std::chrono::duration_cast<std::chrono::seconds>(getSessionDuration(now));
@@ -631,7 +631,7 @@ static size_t countly_curl_write_callback(void *data, size_t byte_size, size_t n
631631
Countly::HTTPResponse Countly::sendHTTP(std::string path, std::string data) {
632632
bool use_post = always_use_post || (data.size() > COUNTLY_POST_THRESHOLD);
633633

634-
log(Countly::LogLevel::INFO, "[Countly] [sendHTTP] data: "+ data);
634+
log(Countly::LogLevel::INFO, "[Countly][sendHTTP] data: "+ data);
635635
if (!salt.empty()) {
636636
unsigned char checksum[SHA256_DIGEST_LENGTH];
637637
std::string salted_data = data + salt;

0 commit comments

Comments
 (0)