mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: bring --enable-logging functionality in line with Chromium (#25089)
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
This commit is contained in:
22
shell/common/logging.h
Normal file
22
shell/common/logging.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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.
|
||||
|
||||
#ifndef SHELL_COMMON_LOGGING_H_
|
||||
#define SHELL_COMMON_LOGGING_H_
|
||||
|
||||
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
|
||||
|
||||
#endif // SHELL_COMMON_LOGGING_H_
|
||||
Reference in New Issue
Block a user