Skip to content

Commit

Permalink
Update deprecation message for Firestore. (firebase#758)
Browse files Browse the repository at this point in the history
* Update FIRFirestore.h

* Provide full command to enable debugging.
  • Loading branch information
ryanwilson authored and wilhuff committed Feb 8, 2018
1 parent 3c84209 commit dd83b1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Firestore/Source/Public/FIRFirestore.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ NS_SWIFT_NAME(Firestore)
#pragma mark - Logging

/** Enables or disables logging from the Firestore client. */
+ (void)enableLogging:(BOOL)logging
DEPRECATED_MSG_ATTRIBUTE("Use FIRSetLoggerLevel(FIRLoggerLevelDebug) to enable logging");
+ (void)enableLogging:(BOOL)logging DEPRECATED_MSG_ATTRIBUTE(
"Use FirebaseConfiguration.shared.setLoggerLevel(.debug) to enable "
"logging.");

#pragma mark - Network

Expand Down

0 comments on commit dd83b1c

Please sign in to comment.