Molassembler  3.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Log.h File Reference

Basic Logging functionality for debugging. More...

#include "Molassembler/Export.h"
#include <unordered_set>
#include <iostream>
Include dependency graph for Log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Scine::Molassembler
 Central library namespace.
 

Enumerations

enum  Level : unsigned {
  Trace, Debug, Info, Warning,
  Error, Fatal, None
}
 Level of logging.
 
enum  Particulars {
  Scine::Molassembler::Log::Particulars::AtomStereopermutatorFit, Scine::Molassembler::Log::Particulars::AtomStereopermutatorStatePropagation, Scine::Molassembler::Log::Particulars::PrototypePropagatorDebugInfo, Scine::Molassembler::Log::Particulars::DgRefinementChiralityNumericalDebugInfo,
  Scine::Molassembler::Log::Particulars::DgRefinementProgress, Scine::Molassembler::Log::Particulars::DgFinalErrorContributions, Scine::Molassembler::Log::Particulars::DgStructureAcceptanceFailures, Scine::Molassembler::Log::Particulars::gatherDGInformationTrees,
  Scine::Molassembler::Log::Particulars::DgDebugInfo, Scine::Molassembler::Log::Particulars::RankingTreeDebugInfo
}
 Particular cases of special logging items that may or may not be desired.
 

Functions

std::ostream & Scine::Molassembler::Log::log (const Level &decisionLevel)
 Fetch a log handle with a logging level. More...
 
std::ostream & Scine::Molassembler::Log::log (const Particulars &particular)
 Fetch a log handle with a particular. More...
 
bool Scine::Molassembler::Log::isSet (Particulars particular)
 Checks whether a particular is part of the current library particulars.
 

Variables

Level Scine::Molassembler::Log::level
 Library logging level.
 
std::unordered_set< Particulars > Scine::Molassembler::Log::particulars
 Library logging particulars.
 

Detailed Description

Basic Logging functionality for debugging.