File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/AppInstallerCommonCore Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments