LCLogger
Objective-C
@interface LCLogger : NSObject
+ (void)setAllLogsEnabled:(BOOL)enabled;
+ (void)setLoggerLevelMask:(NSUInteger)levelMask;
+ (void)addLoggerDomain:(NSString *)domain;
+ (void)removeLoggerDomain:(NSString *)domain;
+ (void)logFunc:(const char *)func line:(const int)line domain:(nullable NSString *)domain level:(LCLoggerLevel)level message:(NSString *)fmt, ... NS_FORMAT_FUNCTION(5, 6);
+ (BOOL)levelEnabled:(LCLoggerLevel)level;
+ (BOOL)containDomain:(NSString *)domain;
@end
Swift
class LCLogger : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
+ (void)setAllLogsEnabled:(BOOL)enabled;
Swift
class func setAllLogsEnabled(_ enabled: Bool)
-
Undocumented
Declaration
Objective-C
+ (void)setLoggerLevelMask:(NSUInteger)levelMask;
Swift
class func setLoggerLevelMask(_ levelMask: UInt)
-
Undocumented
Declaration
Objective-C
+ (void)addLoggerDomain:(NSString *)domain;
Swift
class func addDomain(_ domain: String)
-
Undocumented
Declaration
Objective-C
+ (void)removeLoggerDomain:(NSString *)domain;
Swift
class func removeDomain(_ domain: String)
-
Undocumented
Declaration
Objective-C
+ (void)logFunc:(const char *)func line:(const int)line domain:(nullable NSString *)domain level:(LCLoggerLevel)level message:(NSString *)fmt, ... NS_FORMAT_FUNCTION(5, 6);
-
Undocumented
Declaration
Objective-C
+ (BOOL)levelEnabled:(LCLoggerLevel)level;
Swift
class func levelEnabled(_ level: LCLoggerLevel) -> Bool
-
Undocumented
Declaration
Objective-C
+ (BOOL)containDomain:(NSString *)domain;
Swift
class func containDomain(_ domain: String) -> Bool