Molybden
Loading...
Searching...
No Matches
logging.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_LOGGING_HPP
6#define MOLYBDEN_LOGGING_HPP
7
8#include <string>
9
10namespace molybden {
11
12enum class Destination { kStandardOutput, kFile };
13
14struct Logging {
18 bool enabled = false;
19
23 Destination destination = Destination::kStandardOutput;
24
28 std::string log_file;
29};
30
36};
37
38} // namespace molybden
39
40#endif // MOLYBDEN_LOGGING_HPP
Definition logging.hpp:31
bool verbose_logging_enabled
Enables the verbose logging in Chromium.
Definition logging.hpp:35
Definition logging.hpp:14
Destination destination
The logging output destination.
Definition logging.hpp:23
std::string log_file
The absolute or relative path to the log file.
Definition logging.hpp:28
bool enabled
Indicates whether logging is enabled.
Definition logging.hpp:18