2021-06-17 21:17:25 +00:00
|
|
|
// Copyright (c) 2021 Slack Technologies, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#ifndef ELECTRON_SHELL_COMMON_LOGGING_H_
|
|
|
|
#define ELECTRON_SHELL_COMMON_LOGGING_H_
|
2021-06-17 21:17:25 +00:00
|
|
|
|
|
|
|
namespace base {
|
|
|
|
class CommandLine;
|
|
|
|
class FilePath;
|
|
|
|
} // namespace base
|
|
|
|
|
|
|
|
namespace logging {
|
|
|
|
|
|
|
|
void InitElectronLogging(const base::CommandLine& command_line,
|
|
|
|
bool is_preinit);
|
|
|
|
|
|
|
|
base::FilePath GetLogFileName(const base::CommandLine& command_line);
|
|
|
|
|
|
|
|
} // namespace logging
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#endif // ELECTRON_SHELL_COMMON_LOGGING_H_
|