ark::awlog::AwlogWriterConfig

Defined in header “ark/awlog/awlog_writer.hh”.


Configuration to pass into the awlog writer, allowing you to specify where you want outputs written to and other pieces of metadata.

Variables

  • core::Guid parent_identifier
    If set, will represent the parent that this awlog originally came from. For example, this might represent the parent log, or a parent scenario, or just be left unset.

  • core::Guid common_identifier
    An identifier common to all logs within a “family” (ie, all logs or scenarios that share some data).

  • AwlogWriterSource data_source= AwlogWriterSource::Other
    Source for the awlog data.

  • std::string name
    A human-meaningful name of this log. Can be empty.

  • std::filesystem::path destination_file
    The local destination path for the log that you are writing. This will be the file that we write to.

  • std::map< std::string, std::string > log_metadata
    Metadata (key/value pairs) to be attached to the header.

  • std::vector< AwlogChannelConfig > channels
    The list of channels that will be used in this log.