Skip to content

Commit

Permalink
Added usage comment for the new macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Dec 7, 2023
1 parent 3e5a01a commit 81aa9cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/PrivateHeaders/Ably/ARTInternalLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#define ARTLogInfo(logger, format, ...) ARTLog(logger, ARTLogLevelInfo, format, ##__VA_ARGS__)
#define ARTLogWarn(logger, format, ...) ARTLog(logger, ARTLogLevelWarn, format, ##__VA_ARGS__)
#define ARTLogError(logger, format, ...) ARTLog(logger, ARTLogLevelError, format, ##__VA_ARGS__)
/**
This one is for local debugging only. You can replace other log macroses with it when needed and immidiatly print its message into the console without changing logLevel. Do not commit such changes.
*/
#define ARTPrint(logger, format, ...) ARTLog(logger, ARTLogLevelNone, format, ##__VA_ARGS__)

NS_ASSUME_NONNULL_BEGIN
Expand Down

0 comments on commit 81aa9cf

Please sign in to comment.