@@ -70,7 +70,7 @@ int main(const int argc, char *argv[]) {
70
70
const auto flush_interval = to_chrono_time (args_info.flush_interval_arg );
71
71
std::string filepath = args_info.file_path_arg ;
72
72
73
- std::unique_ptr<ulog::WriterInterface> file_writer;
73
+ std::unique_ptr<ulog::file:: WriterInterface> file_writer;
74
74
// Zstd compression
75
75
if (args_info.zstd_compress_flag ) {
76
76
// Append .zst extension if not present
@@ -81,20 +81,20 @@ int main(const int argc, char *argv[]) {
81
81
// Parse zstd parameters
82
82
if (args_info.zstd_params_given ) {
83
83
const std::map<std::string, std::string> result = ParseParametersMap (args_info.zstd_params_arg );
84
- file_writer = std::make_unique<ulog::ZstdLimitFile>(
84
+ file_writer = std::make_unique<ulog::file:: ZstdLimitFile>(
85
85
file_size, result.count (" level" ) ? std::stoi (result.at (" level" )) : ZSTD_DEFAULT_LEVEL,
86
86
result.count (" window-log" ) ? std::stoi (result.at (" window-log" )) : 0 ,
87
87
result.count (" chain-log" ) ? std::stoi (result.at (" chain-log" )) : 0 ,
88
88
result.count (" hash-log" ) ? std::stoi (result.at (" hash-log" )) : 0 );
89
89
90
90
// No zstd parameters
91
91
} else {
92
- file_writer = std::make_unique<ulog::ZstdLimitFile>(file_size);
92
+ file_writer = std::make_unique<ulog::file:: ZstdLimitFile>(file_size);
93
93
}
94
94
95
95
// No compression
96
96
} else {
97
- file_writer = std::make_unique<ulog::FileLimitWriter>(file_size);
97
+ file_writer = std::make_unique<ulog::file:: FileLimitWriter>(file_size);
98
98
}
99
99
100
100
const ulog::file::RotationStrategy rotation_strategy = std::string (args_info.rotation_strategy_arg ) == " incremental"
0 commit comments