MLogging class
#include <MLogging.h>
Contents
Derived classes
- class FastCaloSimCaloExtrapolation
- class TFCSExtrapolationState
- class TFCSFunction
- class TFCSGANEtaSlice
- class TFCSGANXMLParameters
- class TFCSParametrizationBase
- class TFCSSimulationState
- class TFCSTruthState
- class VNetworkBase
- A template defining the interface to a neural network.
Public static functions
-
static auto startMsg(FCS_MSG::
Level lvl, const std::string& file, int line) -> std::string - Make a message to decorate the start of logging.
Constructors, destructors, conversion operators
Public functions
- auto operator=(MLogging other) -> MLogging&
- Assignment operator.
-
auto level() const -> FCS_MSG::
Level - Retrieve output level.
- void setLevel(int level) virtual
- Update outputlevel.
- auto msg() const -> MsgStream&
- Return a stream for sending messages directly (no decoration)
-
auto msg(const FCS_MSG::
Level lvl) const -> MsgStream& - Return a stream for sending messages (incomplete decoration)
-
auto stream(FCS_MSG::
Level lvl, std::string file, int line) const -> MsgStream& - Return a decorated starting stream for sending messages.
-
auto msgLvl(const FCS_MSG::
Level lvl) const -> bool - Check whether the logging system is active at the provided verbosity level.
-
void print(FCS_MSG::
Level lvl, std::string file, int line, std::string message) const - Print a whole decorated log message and then end the line.
-
auto streamerEndLine(FCS_MSG::
Level lvl) const -> std::string - Update and end the line if we print this level.