8 #ifndef INCLUDE_MOLASSEMBLER_LOG_H
9 #define INCLUDE_MOLASSEMBLER_LOG_H
11 #include "Molassembler/Export.h"
12 #include <unordered_set>
16 namespace Molassembler {
20 class NullBuffer :
public std::streambuf {
22 int overflow(
int c)
override;
26 extern NullBuffer nullBuffer;
27 extern std::ostream nullStream;
31 enum class MASM_EXPORT
Level : unsigned {
75 MASM_EXPORT
extern Level level;
77 MASM_EXPORT
extern std::unordered_set<Particulars> particulars;
Particulars
Particular cases of special logging items that may or may not be desired.
Definition: Log.h:42
@ AtomStereopermutatorStatePropagation
@ DgDebugInfo
in debugDistanceGeometry, progress information
@ DgFinalErrorContributions
In ConformerGeneration, explain final contributions to the error function.
@ DgStructureAcceptanceFailures
Explain why a structure was not accepted.
@ RankingTreeDebugInfo
Ranking debug information.
@ AtomStereopermutatorFit
@ gatherDGInformationTrees
In generateConformation, show the Trees generated from the molecules.
@ DgRefinementChiralityNumericalDebugInfo
In DgRefinementProblem, chiral constraint numerical debug information.
@ PrototypePropagatorDebugInfo
std::ostream & log(const Level &decisionLevel)
Fetch a log handle with a logging level.
bool isSet(Particulars particular)
Checks whether a particular is part of the current library particulars.
Level
Level of logging.
Definition: Log.h:31