summaryrefslogtreecommitdiff
path: root/chromium/fuchsia/base/init_logging.h
blob: 273c082b7a64364874460df68b3046affe9e4f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef FUCHSIA_BASE_INIT_LOGGING_H_
#define FUCHSIA_BASE_INIT_LOGGING_H_

namespace base {
class CommandLine;
}

namespace cr_fuchsia {

// Configures logging for the current process based on the supplied
// |command_line|. Returns false if a logging output stream could not
// be created.
bool InitLoggingFromCommandLine(const base::CommandLine& command_line);

}  // namespace cr_fuchsia

#endif  // FUCHSIA_BASE_INIT_LOGGING_H_