27 void CAmLog::CAmFileLogger::generateLogFilename(std::string &result)
29 static uint32_t logFileID = 1;
33 std::ostringstream stream;
36 result = stream.str();
39 CAmLog::CAmFileLogger::~CAmFileLogger()
43 std::ofstream* of =
static_cast<std::ofstream*
>(mOutputStream);
73 mLogger =
new CAmStdOutLogger();
76 std::string filename(
"");
77 CAmLog::CAmFileLogger::generateLogFilename(filename);
78 mLogger =
new CAmFileLogger(filename);
#define DEFAULT_LOGFILE_EXT
static CAmLog * getDefaultLog()
SPDX license identifier: MPL-2.0.
void setLogType(const eCAmLogType type)
void instantiateLogger(const eCAmLogType type)
#define DEFAULT_LOGFILE_PREFIX
eCAmLogType getLogType() const
#define DEFAULT_LOG_FOLDER
Implements a basic logging mechanism that can be used to print debug information into a file or to th...