Skip to content

Commit

Permalink
Fix param order
Browse files Browse the repository at this point in the history
  • Loading branch information
mlw committed Oct 19, 2022
1 parent 5e4c41b commit 1960816
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/santad/Logs/EndpointSecurity/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Logger {
static std::unique_ptr<Logger> Create(
std::shared_ptr<santa::santad::event_providers::endpoint_security::EndpointSecurityAPI> esapi,
SNTEventLogType log_type, NSString *event_log_path, NSString *spool_log_path,
size_t spool_file_size_threshold, size_t spool_dir_size_threshold,
size_t spool_dir_size_threshold, size_t spool_file_size_threshold,
uint64_t spool_flush_timeout_ms);

Logger(std::shared_ptr<serializers::Serializer> serializer,
Expand Down
4 changes: 2 additions & 2 deletions Source/santad/Logs/EndpointSecurity/Logger.mm
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
// Translate configured log type to appropriate Serializer/Writer pairs
std::unique_ptr<Logger> Logger::Create(std::shared_ptr<EndpointSecurityAPI> esapi,
SNTEventLogType log_type, NSString *event_log_path,
NSString *spool_log_path, size_t spool_file_size_threshold,
size_t spool_dir_size_threshold,
NSString *spool_log_path, size_t spool_dir_size_threshold,
size_t spool_file_size_threshold,
uint64_t spool_flush_timeout_ms) {
switch (log_type) {
case SNTEventLogTypeFilelog:
Expand Down

0 comments on commit 1960816

Please sign in to comment.