IMSLogAssistant Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | IMSLog.h |
– logMessage:
required method
日志分发
- (void)logMessage:(IMSLogMessage *_Nullable)message
Discussion
日志分发
用于将日志分发给日志助手,日志助手需重载该方法。
Declared In
IMSLog.h
– log:level:flag:context:file:function:line:tag:format:args:
兼容DDLog衍生工具的日志分发接口(可选)
- (void)log:(BOOL)asynchronous level:(IMSLogLevel)level flag:(IMSLogFlag)flag context:(NSInteger)context file:(const char *_Nullable)file function:(const char *_Nullable)function line:(NSUInteger)line tag:(id _Nullable)tag format:(NSString *_Nullable)format args:(va_list)argList
Discussion
兼容DDLog衍生工具的日志分发接口(可选)
用于将日志分发给日志助手。
Declared In
IMSLog.h