You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
602 B
36 lines
602 B
![]()
2 years ago
|
//
|
||
|
// JCLog.h
|
||
|
// JCSDKOC
|
||
|
//
|
||
|
// Created by maikireton on 2017/8/22.
|
||
|
// Copyright © 2017年 juphoon. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@interface JCLog : NSObject
|
||
|
|
||
|
/**
|
||
|
* @brief 上传日志
|
||
|
* @param reason 原因描述
|
||
|
* @return
|
||
|
*/
|
||
|
+(bool)uploadLog:(NSString*)reason;
|
||
|
|
||
|
/**
|
||
|
* 打印 error 类型日志
|
||
|
*/
|
||
|
+(void)debug:(NSString*)type format:(NSString*)format, ...;
|
||
|
|
||
|
/**
|
||
|
* 打印 info 类型日志
|
||
|
*/
|
||
|
+(void)info:(NSString*)type format:(NSString*)format, ...;
|
||
|
|
||
|
/**
|
||
|
* 打印 error 类型日志
|
||
|
*/
|
||
|
+(void)error:(NSString*)type format:(NSString*)format, ...;
|
||
|
|
||
|
@end
|