|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
Immutable log context - set by component/entity during execution. More...
#include <LogService.hpp>
Public Member Functions | |
| std::string | FullPath () const |
| Full path: "entity.component" or just "component" if no entity. | |
| bool | IsSet () const |
| Check if context is set. | |
Public Attributes | |
| std::string | entity |
| Entity name (e.g., "falcon9_1"). | |
| std::string | component |
| Component name (e.g., "merlinEngine2"). | |
| std::string | type |
| Component type (e.g., "LiquidEngine"). | |
Immutable log context - set by component/entity during execution.
The LogContext is thread-local and automatically captures the current entity and component name. Components don't need to pass context explicitly.
|
inlinenodiscard |
Full path: "entity.component" or just "component" if no entity.
|
inlinenodiscard |
Check if context is set.
| std::string icarus::LogContext::component |
Component name (e.g., "merlinEngine2").
| std::string icarus::LogContext::entity |
Entity name (e.g., "falcon9_1").
| std::string icarus::LogContext::type |
Component type (e.g., "LiquidEngine").