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
2020-01-11 11:05:34 +08:00

17 lines
368 B
Objective-C

//
// 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