8 #ifndef ICARUSALG_UTILITIES_MFLOGGINGCLASS_H
9 #define ICARUSALG_UTILITIES_MFLOGGINGCLASS_H
12 #include "messagefacility/MessageLogger/MessageLogger.h"
16 #ifdef __cpp_lib_source_location
17 # include <source_location>
18 #endif // __cpp_lib_source_location
22 namespace icarus::ns::util {
class mfLoggingClass; }
94 (std::string
const&
file = {},
int const lineNumber = 0)
const
99 (std::string
const&
file = {},
int const lineNumber = 0)
const
104 (std::string
const&
file = {},
int const lineNumber = 0)
const
109 (std::string
const&
file = {},
int const lineNumber = 0)
const
114 (std::string
const&
file = {},
int const lineNumber = 0)
const
119 (std::string
const&
file = {},
int const lineNumber = 0)
const
124 (std::string
const&
file = {},
int const lineNumber = 0)
const
127 #ifdef __cpp_lib_source_location
130 mf::LogDebug mfLogDebugLine
131 (std::source_location
const loc = std::source_location::current())
const
134 #endif // __cpp_lib_source_location
142 #endif // ICARUSALG_UTILITIES_MFLOGGINGCLASS_H
mf::LogDebug mfLogDebug(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogDebug() stream for logging.
Helper for logging classes.
mfLoggingClass(std::string const &logCategory)
Constructor: initializes with the specified log category.
mf::LogVerbatim mfLogVerbatim(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogVerbatim() stream for logging.
mf::LogInfo mfLogInfo(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogInfo() stream for logging.
mf::LogTrace mfLogTrace(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogTrace() stream for logging.
mf::LogWarning mfLogWarning(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogWarning() stream for logging.
mf::LogProblem mfLogProblem(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogProblem() stream for logging.
std::string fLogCategory
Logging category string used for the messages.
mfLoggingClass const & loggingClass() const
Returns this object (as a logging class object).
mf::LogError mfLogError(std::string const &file={}, int const lineNumber=0) const
Returns a mf::LogError() stream for logging.
std::string logCategory() const
Returns the logging category string for this object.