libfoedus-core
FOEDUS Core Library
debugging_options.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP.
3  * This program is free software; you can redistribute it and/or modify it
4  * under the terms of the GNU General Public License as published by the Free
5  * Software Foundation; either version 2 of the License, or (at your option)
6  * any later version.
7  *
8  * This program is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11  * more details. You should have received a copy of the GNU General Public
12  * License along with this program; if not, write to the Free Software
13  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14  *
15  * HP designates this particular file as subject to the "Classpath" exception
16  * as provided by HP in the LICENSE.txt file that accompanied this code.
17  */
18 #ifndef FOEDUS_DEBUGGING_DEBUGGING_OPTIONS_HPP_
19 #define FOEDUS_DEBUGGING_DEBUGGING_OPTIONS_HPP_
20 #include <stdint.h>
21 
22 #include <string>
23 
24 #include "foedus/cxx11.hpp"
27 #include "foedus/fs/filesystem.hpp"
28 
29 namespace foedus {
30 namespace debugging {
49  };
50 
55 
62 
69 
76 
83 
94 
103 
105 };
106 } // namespace debugging
107 } // namespace foedus
108 #endif // FOEDUS_DEBUGGING_DEBUGGING_OPTIONS_HPP_
Represents an object that can be written to and read from files/bytes in XML format.
bool debug_log_to_stderr_
Whether to write debug logs to stderr rather than log file.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Definition: assert_nd.hpp:44
DebuggingOptions()
Constructs option values with default values.
assorted::FixedString< 252 > verbose_modules_
Per-module verbose level.
#define EXTERNALIZABLE(clazz)
Macro to declare/define essential methods for an externalizable class.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
Definition: cxx11.hpp:131
Immediately quits the engine after this log.
fs::FixedPath debug_log_dir_
Path of the folder to write debug logs.
DebugLogLevel debug_log_min_threshold_
Debug logs below this level will be completely ignored.
DebugLogLevel
Defines debug logging levels.
Warns that there are something unexpected, but not a big issue.
Set of options for debugging support.
DebugLogLevel debug_log_stderr_threshold_
Debug logs at or above this level will be copied to stderr.
int16_t verbose_log_level_
Verbose debug logs (VLOG(m)) at or less than this number will be shown.