LoggerManager
@interface LoggerManager : NSObject
@property (nonatomic,assign) BPLogLevel logLevel;
/**
* Log redirect listener
* Change the default output the log
* If set, SmartLib stops printing to the default output and only use the log redirect listener
*/
@property (nonatomic,weak) id<LogRedirectListener> logRedirectListener;
+ (LoggerManager *)sharedManager;
- (void)printLogs:(int)level tag:(NSString *)tag logs:(NSString*)logs;
- (void)printVerboseLogs:(NSString *)tag logs:(NSString*)logs;
- (void)printDebugLogs:(NSString *)tag logs:(NSString*)logs;
- (void)printInfoLogs:(NSString *)tag logs:(NSString*)logs;
- (void)printWarnLogs:(NSString *)tag logs:(NSString*)logs;
- (void)printErrorLogs:(NSString *)tag logs:(NSString*)logs;
- (void)setLogLevel:(BPLogLevel)logLevel;
- (LoggerHandler *)getLoggerHandler;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic) BPLogLevel logLevel -
Log redirect listener Change the default output the log If set, SmartLib stops printing to the default output and only use the log redirect listener
Declaration
Objective-C
@property (nonatomic, weak) id<LogRedirectListener> _Nullable logRedirectListener; -
Undocumented
Declaration
Objective-C
+ (LoggerManager *)sharedManager; -
Undocumented
Declaration
Objective-C
- (void)printLogs:(int)level tag:(NSString *)tag logs:(NSString*)logs; -
Undocumented
Declaration
Objective-C
- (void)printVerboseLogs:(NSString *)tag logs:(NSString*)logs; -
Undocumented
Declaration
Objective-C
- (void)printDebugLogs:(NSString *)tag logs:(NSString*)logs; -
Undocumented
Declaration
Objective-C
- (void)printInfoLogs:(NSString *)tag logs:(NSString*)logs; -
Undocumented
Declaration
Objective-C
- (void)printWarnLogs:(NSString *)tag logs:(NSString*)logs; -
Undocumented
Declaration
Objective-C
- (void)printErrorLogs:(NSString *)tag logs:(NSString*)logs; -
Undocumented
Declaration
Objective-C
- (LoggerHandler *)getLoggerHandler;
Install in Dash
LoggerManager Class Reference