Go to the documentation of this file.
14 #include "../../include/ecl/streams/log_stream.hpp"
50 if(
modes.count(mode) > 0 ) {
62 (*this) <<
"[" <<
modes[mode] <<
"] ";
bool isModeEnabled(int mode)
Check to see if a particular mode is enabled.
void enableMode(int mode, const std::string header="")
Enable the given mode and associate the specified header.
void disableHeader()
Disables header information.
bool isEnabled()
Check to see if any modes are enabled.
LogStream & log(int mode)
Log streaming function.
void enableHeader()
Enable header information.
void disableMode(int mode)
Disable the given log mode.
std::map< int, std::string > modes
void disableTimeStamp()
Disable time stamps.
void enableTimeStamp()
Enable time stamps.
ecl_streams
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:48