diff --git a/ios/src_library/IosModal-Bridging-Header.h b/ios/src_library/IosModal-Bridging-Header.h index a3956313..17321af1 100644 --- a/ios/src_library/IosModal-Bridging-Header.h +++ b/ios/src_library/IosModal-Bridging-Header.h @@ -20,8 +20,6 @@ #import #endif -#import "Temp/RNILog/_RNILog.h" - #import #import diff --git a/ios/src_library/Temp/RNILog/RNILog.swift b/ios/src_library/Temp/RNILog/RNILog.swift deleted file mode 100644 index d6668a44..00000000 --- a/ios/src_library/Temp/RNILog/RNILog.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// RCTLog.swift -// nativeUIModulesTest -// -// Created by Dominic Go on 6/27/20. -// - -import Foundation - -internal class RNILog { - internal static func error(_ message: String, _ file: String=#file, _ line: UInt=#line) { - _RNILog.error(message, file: file, line: line); - }; - - internal static func warn(_ message: String, _ file: String=#file, _ line: UInt=#line) { - _RNILog.warn(message, file: file, line: line); - }; - - internal static func info(_ message: String, _ file: String=#file, _ line: UInt=#line) { - _RNILog.info(message, file: file, line: line); - }; - - internal static func log(_ message: String, _ file: String=#file, _ line: UInt=#line) { - _RNILog.log(message, file: file, line: line); - }; - - internal static func trace(_ message: String, _ file: String=#file, _ line: UInt=#line) { - _RNILog.trace(message, file: file, line: line); - }; -}; - - diff --git a/ios/src_library/Temp/RNILog/_RNILog.h b/ios/src_library/Temp/RNILog/_RNILog.h deleted file mode 100644 index 17af313e..00000000 --- a/ios/src_library/Temp/RNILog/_RNILog.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// RCTSwiftLog.h -// nativeUIModulesTest -// -// Created by Dominic Go on 6/27/20. -// - -#import - -@interface _RNILog : NSObject - -+ (void)error:(NSString * _Nonnull)message file:(NSString * _Nonnull)file line:(NSUInteger)line; - -+ (void)warn:(NSString * _Nonnull)message file:(NSString * _Nonnull)file line:(NSUInteger)line; - -+ (void)info:(NSString * _Nonnull)message file:(NSString * _Nonnull)file line:(NSUInteger)line; - -+ (void)log:(NSString * _Nonnull)message file:(NSString * _Nonnull)file line:(NSUInteger)line; - -+ (void)trace:(NSString * _Nonnull)message file:(NSString * _Nonnull)file line:(NSUInteger)line; - -@end diff --git a/ios/src_library/Temp/RNILog/_RNILog.m b/ios/src_library/Temp/RNILog/_RNILog.m deleted file mode 100644 index d776e317..00000000 --- a/ios/src_library/Temp/RNILog/_RNILog.m +++ /dev/null @@ -1,38 +0,0 @@ -// -// RCTSwiftLog.m -// nativeUIModulesTest -// -// Created by Dominic Go on 6/27/20. -// - -#import -#import "_RNILog.h" - -@implementation _RNILog - -+ (void)info:(NSString *)message file:(NSString *)file line:(NSUInteger)line -{ - _RCTLogNativeInternal(RCTLogLevelInfo, file.UTF8String, (int)line, @"%@", message); -} - -+ (void)warn:(NSString *)message file:(NSString *)file line:(NSUInteger)line -{ - _RCTLogNativeInternal(RCTLogLevelWarning, file.UTF8String, (int)line, @"%@", message); -} - -+ (void)error:(NSString *)message file:(NSString *)file line:(NSUInteger)line -{ - _RCTLogNativeInternal(RCTLogLevelError, file.UTF8String, (int)line, @"%@", message); -} - -+ (void)log:(NSString *)message file:(NSString *)file line:(NSUInteger)line -{ - _RCTLogNativeInternal(RCTLogLevelInfo, file.UTF8String, (int)line, @"%@", message); -} - -+ (void)trace:(NSString *)message file:(NSString *)file line:(NSUInteger)line -{ - _RCTLogNativeInternal(RCTLogLevelTrace, file.UTF8String, (int)line, @"%@", message); -} - -@end