mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										15
									
								
								Tweaks/RemoteLog/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Tweaks/RemoteLog/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| ## Usage | ||||
|  | ||||
| RemoteLog supports all the format specifiers of `NSLog` so it should be very easy to migrate to. | ||||
|  | ||||
| - Copy `RemoteLog.h` to `$THEOS/include` | ||||
| - Change the ip addresses in the `RemoteLog.h` file to match your computer's ip address | ||||
| - Include the header in any source files you want to use it in: | ||||
| ``` | ||||
| #include <RemoteLog.h> | ||||
| ``` | ||||
| - Replace calls to `NSLog` with calls to `RLog`: | ||||
| ``` | ||||
| RLog(@"Test log: %@", someObject); | ||||
| ``` | ||||
| - Run the python server on your computer and watch the logs coming in :) | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn