mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 20:34:04 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			497 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			497 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## 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 :)
 | 
