LCThreadSafeLog
Objective-C
@interface LCThreadSafeLog : NSObject
Swift
class LCThreadSafeLog : NSObject
Thread safe realization of log system to show logs not only on XCode console but write it in file at once
-
Singleton of object which should be aleays used from any thread to log info
Declaration
Objective-C
+ (instancetype)shared;
Swift
class func shared() -> Self!
-
Place an Info message nt only in file but in XCode console too
Declaration
Objective-C
- (void)logInfoConsoleMessage:(NSString *)message;
Swift
func logInfoConsoleMessage(_ message: String!)