123456789101112131415161718192021222324252627282930313233343536 |
- //
- // FKLogUtil.h
- // FirstLink
- //
- // Created by ascii on 15/8/6.
- // Copyright (c) 2015年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <CocoaLumberjack/CocoaLumberjack.h>
- #import "FKLogTransformEntity.h"
- //#define LOG_MESSAGE_FORMATE(arg) ([NSString stringWithFormat:@"%s [Line:%d] %@", __PRETTY_FUNCTION__, __LINE__, arg])
- //#define LOG_MESSAGE_FORMATE(arg) ([NSString stringWithFormat:@"%s -> %@", __PRETTY_FUNCTION__, arg])
- @interface FKLogUtil : NSObject
- + (void)configCocoaLumberjack;
- + (void)logTransformEntity:(FKLogTransformEntity *)entity;
- + (void)asyncUploadRollingFiles;
- @end
- /**
- * 自定义日志格式
- */
- @interface FKLogFormatter : NSObject <DDLogFormatter> {
- int atomicLoggerCount;
- NSDateFormatter *threadUnsafeDateFormatter;
- }
- @end
|