From 81aa9cf5a3edbb2145d650b256e78006b5ecd0ac Mon Sep 17 00:00:00 2001 From: Marat Al Date: Thu, 7 Dec 2023 16:37:49 +0100 Subject: [PATCH] Added usage comment for the new macros. --- Source/PrivateHeaders/Ably/ARTInternalLog.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/PrivateHeaders/Ably/ARTInternalLog.h b/Source/PrivateHeaders/Ably/ARTInternalLog.h index bfb5821e4..5a544c344 100644 --- a/Source/PrivateHeaders/Ably/ARTInternalLog.h +++ b/Source/PrivateHeaders/Ably/ARTInternalLog.h @@ -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