Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
36 lines
653 B
Objective-C
36 lines
653 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import "MLNFoundation.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
The ``MLNActionJournalOptions`` defines action journal properties such as path, log size, etc...
|
|
*/
|
|
MLN_EXPORT
|
|
@interface MLNActionJournalOptions : NSObject
|
|
|
|
/**
|
|
* Enable/disable journal logging
|
|
*/
|
|
@property (nonatomic) BOOL enabled;
|
|
|
|
/**
|
|
* Local file path.
|
|
*/
|
|
@property (nonatomic, nonnull) NSString* path;
|
|
|
|
/**
|
|
* Log file size (total journal size is equal to `logFileSize * logFileCount`)
|
|
*/
|
|
@property (nonatomic) NSInteger logFileSize;
|
|
|
|
/**
|
|
* Maximum number of log files
|
|
*/
|
|
@property (nonatomic) NSInteger logFileCount;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|