feat:fix when debugging,log cannot show on terminal

This commit is contained in:
pengfeizhou
2021-02-23 16:57:56 +08:00
committed by osborn
parent f44a0824b3
commit 149826ae12
4 changed files with 22 additions and 5 deletions

View File

@@ -23,6 +23,7 @@
#import "DoricContext.h"
#import "DoricDebugJSEngine.h"
#import "DoricRemoteJSExecutor.h"
#import "DoricDevMonitor.h"
@interface DoricDebugJSEngine ()
@property(nonatomic, weak) DoricWSClient *wsClient;
@@ -33,6 +34,7 @@ @implementation DoricDebugJSEngine
- (instancetype)initWithWSClient:(DoricWSClient *)wsClient {
if (self = [super init]) {
_wsClient = wsClient;
[self.registry registerMonitor:[DoricDevMonitor new]];
}
return self;
}