Class Logger
Defined in File Logger.h
Inheritance Relationships
Derived Types
public flamegpu::io::JSONLogger
(Class JSONLogger)public flamegpu::io::XMLLogger
(Class XMLLogger)
Class Documentation
-
class Logger
Pure abstract class for defining loggers of different output formats
Subclassed by flamegpu::io::JSONLogger, flamegpu::io::XMLLogger
Public Functions
-
virtual ~Logger() = default
Virtual destructor for correct inheritance behaviour
-
virtual void log(const RunLog &log, const RunPlan &plan, bool logSteps = true, bool logExit = true, bool logStepTime = false, bool logExitTime = false) const = 0
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 = 0
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
-
virtual ~Logger() = default