This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-iOS/Pod/Classes/DoricMonitorProtocol.h

17 lines
368 B
C
Raw Normal View History

2020-01-11 11:01:38 +08:00
//
// Created by pengfei.zhou on 2020/1/10.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, DoricLogType) {
DoricLogTypeDebug = 0,
DoricLogTypeWarning = 1,
DoricLogTypeError = 2,
};
@protocol DoricMonitorProtocol <NSObject>
- (void)onException:(NSException *)exception;
- (void)onLog:(DoricLogType)type message:(NSString *)message;
@end