初始化提交
This commit is contained in:
32
WebDriverAgentLib/Utilities/FBLogger.h
Normal file
32
WebDriverAgentLib/Utilities/FBLogger.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
A Global Logger object that understands log levels
|
||||
*/
|
||||
@interface FBLogger : NSObject
|
||||
|
||||
/**
|
||||
Log to stdout.
|
||||
*/
|
||||
+ (void)log:(NSString *)message;
|
||||
+ (void)logFmt:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2);
|
||||
|
||||
/**
|
||||
Log to stdout, only if WDA is Verbose
|
||||
*/
|
||||
+ (void)verboseLog:(NSString *)message;
|
||||
+ (void)verboseLogFmt:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2);
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user