#include <file_manager_options.h>
Public Member Functions | |
FileManagerStrategyOptions ()=default | |
FileManagerStrategyOptions (std::string _storage_directory, std::string _file_prefix, std::string _file_extension, size_t _maximum_file_size, size_t _storage_limit, bool _delete_stale_data=false) | |
Public Attributes | |
bool | delete_stale_data |
std::string | file_extension |
std::string | file_prefix |
size_t | maximum_file_size_in_kb {} |
std::string | storage_directory |
size_t | storage_limit_in_kb {} |
Definition at line 30 of file file_manager_options.h.
|
default |
|
inline |
Definition at line 33 of file file_manager_options.h.
bool Aws::FileManagement::FileManagerStrategyOptions::delete_stale_data |
Option for the user to delete logs older than 14 days
Definition at line 72 of file file_manager_options.h.
std::string Aws::FileManagement::FileManagerStrategyOptions::file_extension |
The extension of all storage files
Definition at line 58 of file file_manager_options.h.
std::string Aws::FileManagement::FileManagerStrategyOptions::file_prefix |
The prefix appended to all files on disk
Definition at line 54 of file file_manager_options.h.
size_t Aws::FileManagement::FileManagerStrategyOptions::maximum_file_size_in_kb {} |
The maximum size of any single file in storage. After this limit is reached the file will be rotated.
Definition at line 63 of file file_manager_options.h.
std::string Aws::FileManagement::FileManagerStrategyOptions::storage_directory |
The path to the folder where all files are stored. Can be absolute or relative
Definition at line 50 of file file_manager_options.h.
size_t Aws::FileManagement::FileManagerStrategyOptions::storage_limit_in_kb {} |
The maximum size of all files on disk. After this limit is reached files will start to be deleted, oldest first.
Definition at line 68 of file file_manager_options.h.