feat: bring --enable-logging functionality in line with Chromium (#25089)
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
This commit is contained in:
parent
c841247815
commit
8ccab4ce91
18 changed files with 553 additions and 54 deletions
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_
|
Loading…
Add table
Add a link
Reference in a new issue