logging.h 574 B

12345678910111213141516171819202122
  1. // Copyright (c) 2021 Slack Technologies, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ELECTRON_SHELL_COMMON_LOGGING_H_
  5. #define ELECTRON_SHELL_COMMON_LOGGING_H_
  6. namespace base {
  7. class CommandLine;
  8. class FilePath;
  9. } // namespace base
  10. namespace logging {
  11. void InitElectronLogging(const base::CommandLine& command_line,
  12. bool is_preinit);
  13. base::FilePath GetLogFileName(const base::CommandLine& command_line);
  14. } // namespace logging
  15. #endif // ELECTRON_SHELL_COMMON_LOGGING_H_