|
| | MissionLogger () |
| | MissionLogger (const std::string &log_file_path) |
| void | SetConsoleLevel (LogLevel level) |
| | Set console log level (terminal output).
|
| void | SetFileLevel (LogLevel level) |
| | Set file log level (log file output).
|
| void | SetVersion (const std::string &version) |
| | Set simulation version string.
|
| void | SetBuildType (const std::string &build_type) |
| | Set build type (DEBUG/RELEASE) - auto-detected by default.
|
| void | SetProgressEnabled (bool enabled) |
| | Enable/disable progress display during Run.
|
| void | SetProfilingEnabled (bool enabled) |
| | Enable/disable profiling.
|
| std::string | GetLogFileName () const |
| | Get current log file name.
|
| LogLevel | GetConsoleLevel () const |
| | Get current console level.
|
| bool | IsProgressEnabled () const |
| | Check if progress is enabled.
|
| bool | IsProfilingEnabled () const |
| | Check if profiling is enabled.
|
| std::chrono::nanoseconds | WallElapsed () const |
| | Get total wall time elapsed since startup.
|
| void | SetLogFile (const std::string &path) |
| | Set log file path (closes existing if open).
|
| void | LogStartup () |
| | Log simulation startup (splash screen) - uses Icarus engine version.
|
| void | LogSimulationConfig (const std::string &name, const std::string &version, const std::string &description="") |
| | Log simulation configuration info (from YAML).
|
| void | LogConfigFile (const std::string &path) |
| | Log configuration file path.
|
| void | LogTimeConfig (double t_start, double t_end, double dt) |
| | Log time configuration.
|
| void | LogIntegrator (const std::string &type) |
| | Log integrator type.
|
| void | LogIntegrator (IntegratorType type) |
| | Log integrator type (enum version).
|
| void | LogPhaseConfig (const PhaseConfig &config) |
| | Log phase configuration.
|
| void | BeginLifecycle (const char *lifecycle_name) |
| | Begin a lifecycle phase.
|
| void | EndLifecycle (double sim_time=0.0) |
| | End current lifecycle phase (pass current sim time for consistent timestamps).
|
| std::string | GetDictionaryPath () const |
| | Get the signal dictionary output path (derived from log file name).
|
| void | LogManifest (const DataDictionary &dict) |
| | Log the Flight Manifest (Data Dictionary).
|
| void | LogRunStart (double t_start, double t_end, double dt) |
| | Log simulation run start (entering RUN phase).
|
| void | LogRunProgress (double sim_time, double t_end) |
| | Log periodic run progress.
|
| void | LogDebrief (double sim_time, double wall_time) |
| | Log mission debrief (shutdown statistics).
|
| void | LogEntityLoad (const std::string &entity_name) |
| | Log entity loading.
|
| void | LogComponentAdd (const std::string &component_name, const std::string &type, const std::string &config_source="defaults", bool is_last=false) |
| | Log component addition (tree format).
|
| void | LogAssetLoad (const std::string &asset_name, const std::string &description) |
| | Log static asset loading.
|
| void | LogStateAllocation (std::size_t continuous, std::size_t discrete=0) |
| | Log state vector allocation.
|
| void | LogWiring (const std::string &source, const std::string &target, bool is_warning=false) |
| | Log signal wiring.
|
| void | LogWiringWarning (const std::string &message) |
| | Log wiring warning (multiple writers, etc.).
|
| void | LogExecutionOrder (const std::vector< std::string > &component_order) |
| | Log topological sort order.
|
| void | LogSchedulerOrder (double sim_rate_hz, const std::vector< SchedulerGroupConfig > &groups, const std::unordered_map< std::string, int > &divisors) |
| | Log scheduler execution order with groups and rates (Debug level).
|
| void | LogTrimStart (const std::string &mode, const std::vector< std::pair< std::string, double > > &targets) |
| | Log trim solver progress.
|
| void | LogTrimIteration (int iteration, double residual) |
| void | LogTrimConverged (int iterations) |
| void | LogTrimFailed (const std::string &reason) |
| void | LogLinearModel (const staging::LinearModel &model) |
| | Log linear model summary (called after linearization).
|
| void | LogPhaseEvent (const std::string &from_phase, const std::string &to_phase, double sim_time) |
| | Log phase transition event.
|
| void | LogEvent (const std::string &event_name, double sim_time, const std::string &details="") |
| | Log notable event (apogee, impact, etc.).
|
| void | LogRunWarning (const std::string &source, const std::string &message, double sim_time) |
| | Log warning during run.
|
| void | LogRunError (const std::string &source, const std::string &message, double sim_time) |
| | Log error during run.
|
| void | UpdateProgress (double sim_time, double t_max, const std::map< std::string, double > &key_values={}) |
| | Update progress display (single-line, \r overwrite).
|
| void | ClearProgress () |
| | Clear progress line (call after Run completes).
|
| void | BeginComponentTiming (const std::string &component_name) |
| | Begin timing a component.
|
| void | EndComponentTiming () |
| | End timing for current component.
|
| std::vector< ComponentStats > | GetProfilingStats () const |
| | Get profiling statistics.
|
| Console & | GetConsole () |
| | Get underlying console.
|
| const Console & | GetConsole () const |
| void | Log (LogLevel level, const std::string &message) |
| | Log raw message.
|
| void | LogTimed (LogLevel level, double sim_time, const std::string &message) |
Mission Logger - Flight Recorder style logging.
Provides structured logging throughout the simulation lifecycle. Outputs to both terminal (with colors) and log file (plain ASCII).