Class XMLLogger

Inheritance Relationships

Base Type

Class Documentation

class XMLLogger : public flamegpu::io::Logger

XML format Logger

Public Functions

XMLLogger(const std::string &outPath, bool prettyPrint, bool truncateFile)
virtual void log(const RunLog &log, const RunPlan &plan, bool logSteps = true, bool logExit = true, bool logStepTime = false, bool logExitTime = false) const override

Log a runlog to file, using a RunPlan in place of config

Throws:

May – throw exceptions if logging to file failed for any reason

virtual void log(const RunLog &log, bool logConfig = true, bool logSteps = true, bool logExit = true, bool logStepTime = false, bool logExitTime = false) const override

Log a runlog to file, uses config data (random seed) from the RunLog

Throws:

May – throw exceptions if logging to file failed for any reason