mirror of
https://github.com/google/app-check
synced 2026-11-10 22:05:53 +05:45
Replace GACAppCheckLogger macros with NSLog wrappers (#11269)
Added logging macros as drop-in replacements for the GAC/FIRAppCheckLogger macros. These are simple wrappers around NSLog and are not compiled out based on the desired logging level.
This commit is contained in:
1 parent
08912cdd43
commit
e5e15dbd5b
8 files changed
+59
-30
No files matched your search
@@ -27,8 +27,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
GACAppCheckDebugProvider *provider = [[GACAppCheckDebugProvider alloc] initWithApp:app];
|
||||
|
||||
// Print only locally generated token to avoid a valid token leak on CI.
|
||||
FIRLogWarning(kFIRLoggerAppCheck, kFIRLoggerAppCheckMessageCodeDebugToken,
|
||||
@"Firebase App Check debug token: '%@'.", [provider localDebugToken]);
|
||||
GACLogWarning(kFIRLoggerAppCheckMessageCodeDebugToken, @"Firebase App Check debug token: '%@'.",
|
||||
[provider localDebugToken]);
|
||||
|
||||
return provider;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user