Skip to content

Commit c313906

Browse files
committed
PR feedback: function name
1 parent 6e5ff7b commit c313906

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/AppInstallerCommonCore/FileLogger.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace AppInstaller::Logging
4343
{
4444
m_name = GetNameForPath(filePath);
4545
m_filePath = filePath;
46-
GetDefaultMaximumFileSize();
46+
InitializeDefaultMaximumFileSize();
4747
OpenFileLoggerStream();
4848
}
4949

@@ -52,7 +52,7 @@ namespace AppInstaller::Logging
5252
m_name = "file";
5353
m_filePath = Runtime::GetPathTo(Runtime::PathName::DefaultLogLocation);
5454
m_filePath /= fileNamePrefix.data() + ('-' + Utility::GetCurrentTimeForFilename() + s_fileLoggerDefaultFileExt.data());
55-
GetDefaultMaximumFileSize();
55+
InitializeDefaultMaximumFileSize();
5656
OpenFileLoggerStream();
5757
}
5858

@@ -187,7 +187,7 @@ namespace AppInstaller::Logging
187187
}
188188
}
189189

190-
void FileLogger::GetDefaultMaximumFileSize()
190+
void FileLogger::InitializeDefaultMaximumFileSize()
191191
{
192192
m_maximumSize = static_cast<std::ofstream::off_type>(Settings::User().Get<Settings::Setting::LoggingFileIndividualSizeLimitInMB>()) << 20;
193193
}

src/AppInstallerCommonCore/Public/AppInstallerFileLogger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace AppInstaller::Logging
6262
void OpenFileLoggerStream();
6363

6464
// Initializes the default maximum file size.
65-
void GetDefaultMaximumFileSize();
65+
void InitializeDefaultMaximumFileSize();
6666

6767
// Determines if the logger needs to wrap back to the beginning, doing so when needed.
6868
// May also shrink the given view if it exceeds the overall maximum.

0 commit comments

Comments
 (0)