Skip to content

Commit

Permalink
Updating Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AliRKat committed Aug 3, 2024
1 parent 74ae31c commit 219adba
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 73 deletions.
4 changes: 2 additions & 2 deletions examples/example_integration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int main() {
string _serverUrl = "https://your.server.ly";

if(_appKey.compare("YOUR_APP_KEY") == 0 || _serverUrl.compare("https://your.server.ly") == 0) {
cerr << "Please do not use default set of app key and server url" << endl;
printLog(LogLevel::WARNING, "[ExampleIntegration] Please do not use default set of app key and server url");
}

ct.start(_appKey, _serverUrl, 443, true);
Expand Down Expand Up @@ -164,7 +164,7 @@ int main() {
flag = false;
break;
default:
cout << "Option not found!" << endl;
printLog(LogLevel::DEBUG, "[ExampleIntegration] Please do not use default set of app key and server url");
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion include/countly.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class Countly : public cly::CountlyDelegates {
/* Provide 'updateInterval' in seconds. */
inline void setAutomaticSessionUpdateInterval(unsigned short updateInterval) {
if (is_sdk_initialized) {
log(LogLevel::WARNING, "[Countly][setAutomaticSessionUpdateInterval] You can not set the session duration after SDK initialization.");
log(LogLevel::WARNING, "[Countly]setAutomaticSessionUpdateInterval, You can not set the session duration after SDK initialization.");
return;
}

Expand Down
Loading

0 comments on commit 219adba

Please sign in to comment.