Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pmbaty | 1 | #import <Foundation/Foundation.h> |
2 | #import "DDLog.h" |
||
3 | |||
4 | /** |
||
5 | * Welcome to Cocoa Lumberjack! |
||
6 | * |
||
7 | * The project page has a wealth of documentation if you have any questions. |
||
8 | * https://github.com/CocoaLumberjack/CocoaLumberjack |
||
9 | * |
||
10 | * If you're new to the project you may wish to read the "Getting Started" page. |
||
11 | * https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/GettingStarted |
||
12 | * |
||
13 | * |
||
14 | * This formatter can be used to chain different formatters together. |
||
15 | * The log message will processed in the order of the formatters added. |
||
16 | **/ |
||
17 | |||
18 | @interface DDMultiFormatter : NSObject <DDLogFormatter> |
||
19 | |||
20 | /** |
||
21 | * Array of chained formatters |
||
22 | */ |
||
23 | @property (readonly) NSArray *formatters; |
||
24 | |||
25 | - (void)addFormatter:(id<DDLogFormatter>)formatter; |
||
26 | - (void)removeFormatter:(id<DDLogFormatter>)formatter; |
||
27 | - (void)removeAllFormatters; |
||
28 | - (BOOL)isFormattingWithFormatter:(id<DDLogFormatter>)formatter; |
||
29 | |||
30 | @end |