// // zego-logger-oc.h // // Copyright © Shenzhen Zego Technology Company Limited // #import #if TARGET_OS_IPHONE #import #elif TARGET_OS_OSX #import #endif @interface ZegoEduLogger : NSObject /** enum ZegoLoggerLevel { kZegoLogLevelError = 1, kZegoLogLevelWarning = 2, kZegoLogLevelNotice = 3, kZegoLogLevelDebug = 4 }; */ +(int) setFolder: (NSString *)folder level:(int)level size:(unsigned int)size; /** 设置默认日志路径 */ +(int) setDefaultFolder: (NSString *)folder; /** 设置日志文件头部信息 (当前使用viewVersion作为headinfo) */ +(void) setHeadInfo: (NSString *)content; /** 打印一行日志 @note 打印内容中包含时间、线程、内容,函数名、行号需自行在 content 中包含 */ +(void) writeLog: (int)logLevel content:(NSString *)content; @end