function TraceArti [SWS_LOG_20000] Upstream: RS_LT_00003
template <typename MsgId, typename... Params> void TraceArti (const MsgId &msg_id, const Params &... params) noexcept;
Handles a modeled message, specific to the used trace tool. This function is only called internally by the Logger framework when switching between Log and TraceArti. It represents the interface to trace tools. The runtime overhead of this function shall be kept as minimal as possible, e.g. by using specializations based on the MsgId.
Usage and Call Context
The template function TraceArti in namespace apext::log serves to process modeled messages specifically for the respective connected trace tool [SWS_LOG_20000]. It acts as an interface to trace tools and is not intended for direct invocation by application code, but is called exclusively internally by the logger framework when switching between logging and TraceArti [SWS_LOG_20000]. As parameters, the function accepts via msg_id a message-identifying object of an implementation-specific type as well as via parameter pack params the arguments of the message; a return value is not defined [SWS_LOG_20000].
Concurrency, error handling, and runtime behavior
The interface is specified as thread-safe (thread-safe) and exception-safe (exception safe through noexcept) [SWS_LOG_20000]. Specific error codes or error reporting mechanisms do not exist, so the function must completely exclude exceptions [SWS_LOG_20000].
The runtime overhead of TraceArti is to be kept as minimal as possible [SWS_LOG_20000]. For this purpose, the specification explicitly cites specializations based on template parameter MsgId as an approach [SWS_LOG_20000]. Interpretation: For connecting a trace tool, this likely means that message-specific processing logics should preferably be optimized at compile time via template specializations. Question Q-24ea7f9557ada827 (open)
This usage note was created automatically based on the AUTOSAR specification for R25-11.
Implementer's Guide to follow (complexity I1)
| Header-Datei | #include "apext/log/trace_arti.h" |
|---|---|
| Scope | namespace apext::log |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Template-Parameter
| Parameter | Beschreibung |
|---|---|
| MsgIdParams | the type of the msg_id parameter the types of the params parameters |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| msg_id | an implementation-defined type identifying the message object |
| params | the arguments of the message |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| None |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_LOG_20000- Status
- valid/auto-approved
- Version
AUTOSAR/AP/record/SWS_LOG_20000@rel:R25-11#4e0ac6b9- Content hash
4e0ac6b9- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_20000
Status: valid/auto-approved
Version: rel:R25-11#5511a3f8
Versionshistorie & Revisions (2 transitions, 4 revision)
- Current State
valid/auto-approved- Reason
- unchanged
- Campaign
2026-08-sws-log-pilot-after-tool-improvement- Active Version
AUTOSAR/AP/record/SWS_LOG_20000@rel:R25-11#5511a3f8
Recorded Revisions (4):
- R25-11
rel:R25-11#4e0ac6b92026-09-30 - R23-11
rel:R23-11#ab5e92c82026-10-14 - R24-11
rel:R24-11#5511a3f82026-10-14 - R25-11
rel:R25-11#5511a3f82026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-10 | tool | valid/unversioned → invalid/obsolete | spec update after tool improvement | 2026-08-sws-log-pilot-after-tool-improvement |
| 2026-08-10 | tool | invalid/obsolete → valid/auto-approved | unchanged | 2026-08-sws-log-pilot-after-tool-improvement |
gemini-3.8-flash-low· 2026-10-13 · German original