Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
erichmzhang
committed
Jun 8, 2018
1 parent
c0a1b58
commit bb822b9
Showing
5 changed files
with
77 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// QCloudLoggerOutput.h | ||
// QCloudCore | ||
// | ||
// Created by Dong Zhao on 2018/5/29. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
@class QCloudLogModel; | ||
@interface QCloudLoggerOutput : NSObject | ||
- (void) appendLog:(QCloudLogModel*(^)(void))logCreate; | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// QCloudLoggerOutput.m | ||
// QCloudCore | ||
// | ||
// Created by Dong Zhao on 2018/5/29. | ||
// | ||
|
||
#import "QCloudLoggerOutput.h" | ||
|
||
@implementation QCloudLoggerOutput | ||
- (void) appendLog:(QCloudLogModel *(^)(void))logCreate | ||
{ | ||
[NSException exceptionWithName:@"com.qcloud.logger" reason:@"You must implementation this method in subclass of QCloudLoggerOutput" userInfo:nil]; | ||
} | ||
@end |