mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Add stopLogging method to Log_OC
This commit is contained in:
		
							parent
							
								
									9adb155f7e
								
							
						
					
					
						commit
						9cbf572510
					
				| @ -111,6 +111,22 @@ public class Log_OC { | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     public static void stopLogging() { | ||||||
|  |         try { | ||||||
|  |             mBuf.close(); | ||||||
|  |             isEnabled = false; | ||||||
|  | 
 | ||||||
|  |             mLogFile = null; | ||||||
|  |             mFolder = null; | ||||||
|  |             mBuf = null; | ||||||
|  |             isMaxFileSizeReached = false; | ||||||
|  |             isEnabled = false; | ||||||
|  | 
 | ||||||
|  |         } catch (IOException e) { | ||||||
|  |             e.printStackTrace(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     /** |     /** | ||||||
|      * Delete history logging |      * Delete history logging | ||||||
|      */ |      */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user