mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			44 lines
		
	
	
		
			592 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			44 lines
		
	
	
		
			592 B
		
	
	
	
		
			Objective-C
		
	
| //
 | |
| //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | |
| //
 | |
| 
 | |
| #import "OWSLogger.h"
 | |
| 
 | |
| NS_ASSUME_NONNULL_BEGIN
 | |
| 
 | |
| @implementation OWSLogger
 | |
| 
 | |
| + (void)verbose:(NSString *)logString
 | |
| {
 | |
|     DDLogVerbose(@"%@", logString);
 | |
| }
 | |
| 
 | |
| + (void)debug:(NSString *)logString
 | |
| {
 | |
|     DDLogDebug(@"%@", logString);
 | |
| }
 | |
| 
 | |
| + (void)info:(NSString *)logString
 | |
| {
 | |
|     DDLogInfo(@"%@", logString);
 | |
| }
 | |
| 
 | |
| + (void)warn:(NSString *)logString
 | |
| {
 | |
|     DDLogWarn(@"%@", logString);
 | |
| }
 | |
| 
 | |
| + (void)error:(NSString *)logString
 | |
| {
 | |
|     DDLogError(@"%@", logString);
 | |
| }
 | |
| 
 | |
| + (void)flush
 | |
| {
 | |
|     [DDLog flushLog];
 | |
| }
 | |
| 
 | |
| @end
 | |
| 
 | |
| NS_ASSUME_NONNULL_END
 |