diff options
author | Gil <mcg@google.com> | 2018-05-23 07:00:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 07:00:05 -0700 |
commit | af19a1b07245b7d0be4fd492bd3731964937c7c6 (patch) | |
tree | e19db1c38a0de792ef8f49b259f34d0dab252fb1 /Firestore/Source/Util/FSTLogger.h | |
parent | 23f8320148672310ff71aa3ef2b6c3ac86d47ede (diff) |
Reimplement C++ logging (#1313)
* Add direct support for formatting Objective-C objects
* Rewrite log.h
* Convert FSTWarn to LOG_WARN
* Convert FSTLog to LOG_DEBUG
* Remove FSTLogger
Diffstat (limited to 'Firestore/Source/Util/FSTLogger.h')
-rw-r--r-- | Firestore/Source/Util/FSTLogger.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Firestore/Source/Util/FSTLogger.h b/Firestore/Source/Util/FSTLogger.h deleted file mode 100644 index c4e2b85..0000000 --- a/Firestore/Source/Util/FSTLogger.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2017 Google - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#import <Foundation/Foundation.h> - -NS_ASSUME_NONNULL_BEGIN - -/** Logs to NSLog if [FIRFirestore isLoggingEnabled] is YES. */ -void FSTLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2); - -void FSTWarn(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2); - -NS_ASSUME_NONNULL_END |