Allow setting log file base name in InitLogging.

PiperOrigin-RevId: 649156558
This commit is contained in:
Francis Tsui
2024-07-03 12:05:27 -07:00
committed by Copybara-Service
parent 91f4e665e7
commit 069d836793
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class SharingPlatform {
virtual ~SharingPlatform() = default;
// This function should only be called once.
virtual void InitLogging() = 0;
virtual void InitLogging(absl::string_view log_file_base_name) = 0;
// Platform specific implementation to set default logging levels.
virtual void UpdateLoggingLevel() = 0;