#import <Foundation/Foundation.h>
#import <CocoaLumberjack.h>
NS_ASSUME_NONNULL_BEGIN
@interface iCLogFormatter : NSObject<DDLogFormatter>
@end
NS_ASSUME_NONNULL_END
#import <Foundation/Foundation.h>
#import "iCLogFormatter.h"
#if DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
#else
static const DDLogLevel ddLogLevel = DDLogLevelError;
#endif
NS_ASSUME_NONNULL_BEGIN
@interface iCLogManager : NSObject
@property (nonatomic,strong) DDFileLogger *fileLogger;
+(instancetype)shareInstence;
- (void)config;
@end
NS_ASSUME_NONNULL_END
#import "iCLogManager.h"
@implementation iCLogManager
/**配置日志信息*/
- (void)config
{
iCLogFormatter *logFormatter = [[iCLogFormatter alloc] init];
//1.发送日志语句到苹果的日志系统,它们显示在Console.app上
// [[DDASLLogger sharedInstance] setLogFormatter:logF