Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kala13x committed Aug 23, 2023
1 parent 6f312f7 commit 7cd0b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,10 @@ int main()
slog_config_t slgCfg;
slog_config_get(&slgCfg);
slgCfg.logCallback = log_callback;
slgCfg.pCallbackCtx = NULL; // Optional pointer passed to log callback
slgCfg.pCallbackCtx = NULL; // Optional pointer passed to the callback
slog_config_set(&slgCfg);
slog("This message will be passed to callback function");
slog("This message will be passed to the callback function");
slog_destroy();
return 0;
Expand Down

0 comments on commit 7cd0b3d

Please sign in to comment.
-