Class Logger

Inheritance Relationships

Derived Types

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