DEENESPTFRRUARHIKOZHNL

namespace ara::log

User GuideAI-GENERATED

Enables the creation of logging contexts, formatted message streams, and client state monitoring.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: aad9146dd3fe Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables the creation of logging contexts, formatted message streams, and client state monitoring.

The namespace ara::log provides adaptive logging services by managing context loggers and outputting typed message streams to sinks such as the DLT backend or the console [SWS_LOG_00021]. Applications obtain loggers via factory functions, prepare formatted payload data via argument wrappers, and feed data into log messages in a thread-safe manner. As an essential constraint, ownership of all logger instances remains with the framework, whereas registration of the connection state handler is explicitly not thread-safe [SWS_LOG_00205].

Context

The namespace ara::log provides the central logging infrastructure for adaptive applications. Its core responsibilities include managing logging contexts via class Logger, structured creation of log messages via LogStream, and typed passing of formatted payload data via Argument and Format. The framework acts as a link between application-side log calls and target sinks: the DLT (Diagnostic Log and Trace) backend serves as the primary sink, whose connectivity status is represented via the enumeration ClientState [SWS_LOG_00098]. If no model is available, the console acts as the sink by default [SWS_LOG_00021]. Status changes of external peers can be monitored via callback functions of type ConnectionStateHandler [SWS_LOG_00265].

LogKontext Anwendung Anwendung LoggingFramework LoggingFramework Anwendung->LoggingFramework nutzt API DltBackEnd DltBackEnd LoggingFramework->DltBackEnd transmits log messages Konsole Konsole LoggingFramework->Konsole Fallback-Ausgabe RemoteClient RemoteClient DltBackEnd->RemoteClient Zustandsmeldung

Context diagram: Interaction partners of the logging framework between application, console, DLT backend, and external client. Sources: [SWS_LOG_00021], [SWS_LOG_00098], [SWS_LOG_00205].

Lifecycle

Instances of Logger are not constructed directly by the application, but instantiated by the factory functions CreateLogger and registered in the logging framework [SWS_LOG_00021], [SWS_LOG_00263]. Ownership is explicitly defined: ownership remains entirely with the logging framework ("Ownership stays within the Logging framework"), which issues references (Logger&) to the caller [SWS_LOG_00021]. Alternatively, creation can be model-based using an ara::core::InstanceSpecifier [SWS_LOG_00256]. Interpretation: Since the framework retains ownership, the lifetime of registered loggers is likely bound to the parent process. Question Q-4b81e462cf2e43b1 (open)

Regarding concurrency, logger creation via CreateLogger is specified to be thread-safe [SWS_LOG_00021]. In contrast, the registration of connection state handlers via RegisterConnectionStateHandler is explicitly not thread-safe ("not thread-safe") [SWS_LOG_00205]; it must therefore typically be performed during the initialization phase prior to starting concurrent activities. Furthermore, only a single handler can be active at any time; re-registration immediately replaces previous callbacks [SWS_LOG_00205]. The connection lifecycle of external peers passes through the stages kUnknown (DLT backend not yet active), kNotConnected, and kConnected [SWS_LOG_00098].

Usage Path

The regular sequence includes configuring monitoring, obtaining the logger, and outputting formatted messages:

Initialization and logging in namespace ara::logApplicationara::logLogStreamUse Case: Configuration and initializationRegisterConnectionStateHandler(callback)CreateLogger("ctx", "desc", LogLevel::kInfo)Logger&Use Case: Argument preparation and outputArg(val, "wert", "ms", Hex())Argument<T>operator<<(out, ec)LogStream&

Sequence diagram: Typical interaction sequence during initialization, creation of loggers, and output of formatted data via LogStream. Sources: [SWS_LOG_00021], [SWS_LOG_00063], [SWS_LOG_00124], [SWS_LOG_00201], [SWS_LOG_00205].

Error Scenarios

The functions of the namespace are largely declared with noexcept and provide no-throw guarantees, but are subject to strict preconditions and violation rules:

  • Manifest violations: When creating a logger based on a model via CreateLogger(const ara::core::InstanceSpecifier&), specific runtime violations can be triggered: InstanceSpecifierMappingIntegrityViolation (specifier cannot be resolved in the model or does not reference a PortPrototype), PortInterfaceMappingViolation (mapping type does not match the expected PortInterface), ProcessMappingViolation (no matching process found), and InstanceSpecifierAlreadyInUseViolation (specifier is already used in the process) [SWS_LOG_00256].
  • Invalid argument typing: The call to Arg is syntactically invalid ("ill-formed") if the type T is neither an arithmetic type nor bool and cannot be converted into either ara::core::StringView or ara::core::Span<const ara::core::Byte>. Likewise, passing a unit string other than nullptr unit for strings, byte spans, or boolean types results in an error [SWS_LOG_00201].
  • Error representation: When outputting a core::ErrorCode instance to the console, the error code is formatted in an implementation-specific way, where the domain name (ErrorCode::Domain().Name()) and the integral error number must be included [SWS_LOG_00124].

This guide is based on the specification of the log module in Adaptive Platform release R25-11.

Topic map

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

Class diagram

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::log nara__log__Argument Argument nara__log__Format «struct» Format nara__log__LogStream LogStream nara__log__Logger Logger

Detail view

Select an entry in the outline.

Logger-Kontext

Logger class

Represents a logger context

CreateLogger function 3

Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.

Overloads CreateLogger 3
Logger & CreateLogger (ara::core::StringView ctxId, ara::core::String View ctxDescription, LogLevel ctxDefLogLevel) noexcept; SWS_LOG_00021
Logger & CreateLogger (const ara::core::InstanceSpecifier &is) noexcept; SWS_LOG_00256
Logger & CreateLogger (ara::core::StringView ctxId, ara::core::String View ctxDescription) noexcept; SWS_LOG_00263

Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.

void RegisterConnectionStateHandler (ConnectionStateHandler callback) noexcept;
ClientState enumeration

Client state representing the connection state of an external client. .

enum class ClientState : std::int8_t {...};
LogLevel enumeration

List of possible severity levels .

enum class LogLevel : std::uint8_t {...};

Callback function type to be registered in ara::log::RegisterConnectionStateHandler.

using ConnectionStateHandler = std::function<void(ClientState)>;

Nachrichtenaufbau

Argument class

Wrapper type for holding a payload argument with its attributes

LogStream class

Represents a Log message, allowing stream operators to be used for appending data

Input/output << 5
LogStream & operator<< (LogStream &out, LogLevel value) noexcept; SWS_LOG_00063
LogStream & operator<< (LogStream &out, const core::ErrorCode &ec) noexcept; SWS_LOG_00124
template <typename Rep, typename Period> LogStream & operator<< (LogStream &out, const std::chrono::duration< Rep, Period > &value) noexcept; SWS_LOG_00125
LogStream & operator<< (LogStream &out, const ara::core::Instance Specifier &value) noexcept; SWS_LOG_00126
LogStream & operator<< (LogStream &out, const void *value) noexcept; SWS_LOG_00127
Arg function

Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"

template <typename T> Argument< T > Arg (T &&arg, const char *name=nullptr, const char *unit=nullptr, Format format=Dflt()) noexcept;

Zahlenformate

Format class

A type holding a formatting hint

AutoFloat function

Create a Format instance with Fmt::kAutoFloat formatting hint and given precision.

constexpr Format AutoFloat (std::uint16_t precision=6) noexcept;
AutoFloatMax function

Create a Format instance with Fmt::kAutoFloat formatting hint and a precision that is sufficient for full round-trip safety. .

constexpr Format AutoFloatMax () noexcept;
Bin function 2

Create a Format instance with Fmt::kBin formatting hint and default precision. .

Overloads Bin 2
constexpr Format Bin () noexcept; SWS_LOG_00215
constexpr Format Bin (std::uint16_t precision) noexcept; SWS_LOG_00216
Dec function 2

Create a Format instance with Fmt::kDec formatting hint and default precision. .

Overloads Dec 2
constexpr Format Dec () noexcept; SWS_LOG_00211
constexpr Format Dec (std::uint16_t precision) noexcept; SWS_LOG_00212
DecFloat function

Create a Format instance with Fmt::kDecFloat formatting hint and given precision.

constexpr Format DecFloat (std::uint16_t precision=6) noexcept;
DecFloatMax function

Create a Format instance with Fmt::kDecFloat formatting hint and a precision that is sufficient for full round-trip safety. .

constexpr Format DecFloatMax () noexcept;
Dflt function

Create a Format instance with Fmt::kDefault formatting hint. .

constexpr Format Dflt () noexcept;
EngFloat function

Create a Format instance with Fmt::kEngFloat formatting hint and given precision.

constexpr Format EngFloat (std::uint16_t precision=6) noexcept;
EngFloatMax function

Create a Format instance with Fmt::kEngFloat formatting hint and a precision that is sufficient for full round-trip safety. .

constexpr Format EngFloatMax () noexcept;
Hex function 2

Create a Format instance with Fmt::kHex formatting hint and default precision. .

Overloads Hex 2
constexpr Format Hex () noexcept; SWS_LOG_00209
constexpr Format Hex (std::uint16_t precision) noexcept; SWS_LOG_00210
HexFloat function

Create a Format instance with Fmt::kHexFloat formatting hint and given precision.

constexpr Format HexFloat (std::uint16_t precision) noexcept;
HexFloatMax function

Create a Format instance with Fmt::kHexFloat formatting hint and a precision that is sufficient for full round-trip safety. .

constexpr Format HexFloatMax () noexcept;
Oct function 2

Create a Format instance with Fmt::kOct formatting hint and default precision. .

Overloads Oct 2
constexpr Format Oct () noexcept; SWS_LOG_00213
constexpr Format Oct (std::uint16_t precision) noexcept; SWS_LOG_00214
Fmt enumeration

Format specifiers for log message arguments .

enum class Fmt : std::uint16_t {...};

Enumerations

enumeration ClientState [SWS_LOG_00098] Upstream: RS_LT_00003, RS_LT_00050

enum class ClientState :              std::int8_t {...};

Client state representing the connection state of an external client. .

Header-Datei#include "ara/log/common.h"
Forwarding-Header#include "ara/log/log_fwd.h"
Scopenamespace ara::log
SymbolClientState
Basistypstd::int8_t

Werte

EnumeratorBeschreibung
kUnknown= -1 DLT back-end not up and running yet, state cannot be determined.
kNotConnectedNo remote client detected.
kConnectedRemote client is connected.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b76d16a569dc Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The enumeration ara::log::ClientState represents the current connection status of an external client to the DLT backend [SWS_LOG_00098]. It is based on data type std::int8_t and is included via header file #include "ara/log/common.h" or forwarding header #include "ara/log/log_fwd.h" [SWS_LOG_00098].

States and semantics

The enumeration defines three discrete connection states [SWS_LOG_00098]:

  • kUnknown (-1): The DLT backend is not yet operational; the actual connection status cannot be determined at this point in time [SWS_LOG_00098].
  • kNotConnected: No external client has been detected [SWS_LOG_00098].
  • kConnected: A remote client is successfully connected [SWS_LOG_00098].

Interaction and Concurrency

The enumeration serves primarily as a parameter for function callback ConnectionStateHandler (defined as std::function<void(ClientState)>), which is registered via ara::log::RegisterConnectionStateHandler [SWS_LOG_00265]. This handler is declared as thread-safe [SWS_LOG_00265]. Interpretation: Registered handlers are likely called asynchronously as soon as the DLT backend detects state changes of the external client. Question Q-b78ef73772a658a2 (open)

This text was generated by an AI based on the AUTOSAR specification R25-11.

Implementer's Guide to follow (complexity I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00098
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00098@rel:R25-11#ecd2ddfb
Content hash
ecd2ddfb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00098
Status: valid/auto-approved Version: rel:R25-11#2440c3c2 Versionshistorie & Revisions (2 transitions, 8 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00098@rel:R25-11#2440c3c2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ecd2ddfb2026-09-30
  • R19-11rel:R19-11#ddc8d7272026-10-14
  • R20-11rel:R20-11#5eeddd132026-10-14
  • R21-11rel:R21-11#f7f224d82026-10-14
  • R22-11rel:R22-11#cd4658202026-10-14
  • R23-11rel:R23-11#bfb4ebcb2026-10-14
  • R24-11rel:R24-11#bfb4ebcb2026-10-14
  • R25-11rel:R25-11#2440c3c22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

enumeration Fmt [SWS_LOG_00206] Upstream: RS_LT_00046

enum class Fmt :         std::uint16_t {...};

Format specifiers for log message arguments .

Header-Datei#include "ara/log/logger.h"
Forwarding-Header#include "ara/log/log_fwd.h"
Scopenamespace ara::log
SymbolFmt
Basistypstd::uint16_t

Werte

EnumeratorBeschreibung
kDefault=0 implementation-defined formatting
kDec=1 decimal (signed/unsigned)
kOct=2 octal
kHex=3 hexadecimal
kBin=4 binary
kDecFloat=5 decimal float (like printf "%f")
kEngFloat=6 engineering float (like printf "%e")
kHexFloat=7 hex float (like printf "%a")
kAutoFloat=8 automatic "shortest" float (like printf "%g")

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00206
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00206@rel:R25-11#eb476d33
Content hash
eb476d33
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00206
Status: valid/auto-approved Version: rel:R25-11#4ddac557 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00206@rel:R25-11#4ddac557
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#eb476d332026-09-30
  • R21-11rel:R21-11#48a0752f2026-10-14
  • R22-11rel:R22-11#4a6df2302026-10-14
  • R23-11rel:R23-11#4c785b962026-10-14
  • R24-11rel:R24-11#d32c534c2026-10-14
  • R25-11rel:R25-11#4ddac5572026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

enumeration LogLevel [SWS_LOG_00018] Upstream: RS_LT_00003, RS_LT_00049

enum class LogLevel :                std::uint8_t {...};

List of possible severity levels .

Header-Datei#include "ara/log/common.h"
Forwarding-Header#include "ara/log/log_fwd.h"
Scopenamespace ara::log
SymbolLogLevel
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
No logging.
kFatal= 0x01 Fatal error, not recoverable.
kError= 0x02 Error with impact to correct functionality.
kWarn= 0x03 Warning if correct behavior cannot be ensured.
kInfo= 0x04 Informational, providing high level understanding.
kDebug= 0x05 Detailed information for programmers.
kVerbose= 0x06 Extra-verbose debug messages (highest grade of information)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00018
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00018@rel:R25-11#f9d70278
Content hash
f9d70278
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00018
Status: valid/auto-approved Version: rel:R25-11#be04e30f Versionshistorie & Revisions (2 transitions, 8 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00018@rel:R25-11#be04e30f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f9d702782026-09-30
  • R19-11rel:R19-11#5045aef42026-10-14
  • R20-11rel:R20-11#6bf64c6a2026-10-14
  • R21-11rel:R21-11#bc6daa5d2026-10-14
  • R22-11rel:R22-11#bc6daa5d2026-10-14
  • R23-11rel:R23-11#592fecb42026-10-14
  • R24-11rel:R24-11#e925b37c2026-10-14
  • R25-11rel:R25-11#be04e30f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

Type aliases

type alias ConnectionStateHandler [SWS_LOG_00265] Upstream: RS_LT_00003, RS_LT_00050

using ConnectionStateHandler = std::function<void(ClientState)>;

Callback function type to be registered in ara::log::RegisterConnectionStateHandler.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
SymbolConnectionStateHandler
Thread-Sicherheitthread-safe
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 61bab347af38 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The type alias ConnectionStateHandler specifies the signature for callback functions for monitoring the connection status in module log [SWS_LOG_00265]. It is declared in namespace ara::log and requires including the header file ara/log/logger.h [SWS_LOG_00265]. As a function wrapper std::function<void(ClientState)>, the callback routine accepts the resulting connection state via the parameter of type ClientState and provides no return value [SWS_LOG_00265].

Usage takes place via the registration function RegisterConnectionStateHandler [SWS_LOG_00205]. The following requirements apply to the interaction and lifecycle of the handler:

  • Invocation timing: The registered callback function is called every time the client's connection state changes [SWS_LOG_00205].
  • Exclusivity: Only a single handler can be actively registered at any given time [SWS_LOG_00205]. If a callback was already registered previously, the newly passed function replaces it completely, so that going forward only the new handler is called [SWS_LOG_00205].
  • Exception safety: The registration function RegisterConnectionStateHandler is specified with noexcept, ensuring that passing the function callback is exception safe [SWS_LOG_00205].

Regarding concurrency, the specification element is marked as thread-safe [SWS_LOG_00265]. Interpretation: Since state changes are potentially signaled asynchronously by the logging infrastructure, the application logic provided in the handler is likely required to be designed reentrantly and perform no blocking operations in order not to obstruct the communication context. Question Q-ca507d992cc31284 (open)

This usage note was generated automatically based on AUTOSAR specification R25-11.

Implementer's Guide to follow (complexity I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00265
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00265@rel:R25-11#625d0fcf
Content hash
625d0fcf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00265
Status: valid/auto-approved Version: rel:R25-11#57189591 Versionshistorie & Revisions (2 transitions, 3 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00265@rel:R25-11#57189591
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#625d0fcf2026-09-30
  • R24-11rel:R24-11#571895912026-10-14
  • R25-11rel:R25-11#571895912026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

Documentation of free functions

function Arg [SWS_LOG_00201] Upstream: RS_LT_00003, RS_LT_00046

template <typename T> Argument< T > Arg (T &&arg, const char *name=nullptr, const char *unit=nullptr, Format format=Dflt()) noexcept;

Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"

Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"

Validate requirementfunction Arg [SWS_LOG_00201] Upstream: RS_LT_00003 , RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Arg [SWS_LOG_00201] Upstream: RS_LT_00003 , RS_LT_00046
Requirement-ID
SWS_LOG_00201
Flag-ID
SWS_LOG_00201
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
fd591f32c88478c734d44a1ab7e6d495069c6fb2b0486eb474e0230bb7b65db4
Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Tthe type of arg

Parameter (in)

ParameterBeschreibung
argan argument payload object
namean optional "name" attribute for arg
unitan optional "unit" attribute for arg
formatan optional formatting hint for integral or floating-point arguments; the default is to use the implementation’s standard formatting

Rückgabewert

TypBeschreibung
Argument< T >a wrapper object holding the supplied arguments

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00201
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00201@rel:R25-11#5383d578
Content hash
5383d578
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00201
Status: valid/auto-approved Version: rel:R25-11#0c1e3e68 Versionshistorie & Revisions (3 transitions, 7 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00201@rel:R25-11#0c1e3e68
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#5383d5782026-09-30
  • R20-11rel:R20-11#19b7526a2026-10-14
  • R21-11rel:R21-11#af194ae52026-10-14
  • R22-11rel:R22-11#72c566222026-10-14
  • R23-11rel:R23-11#a20c5f1c2026-10-14
  • R24-11rel:R24-11#cb9743612026-10-14
  • R25-11rel:R25-11#0c1e3e682026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function AutoFloat [SWS_LOG_00223] Upstream: RS_LT_00046

constexpr Format AutoFloat (std::uint16_t precision=6) noexcept;

Create a Format instance with Fmt::kAutoFloat formatting hint and given precision.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00223
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00223@rel:R25-11#1fc6d9f3
Content hash
1fc6d9f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00223
Status: valid/auto-approved Version: rel:R25-11#ed3381e7 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00223@rel:R25-11#ed3381e7
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#1fc6d9f32026-09-30
  • R21-11rel:R21-11#40d2b1282026-10-14
  • R22-11rel:R22-11#a0db1afb2026-10-14
  • R23-11rel:R23-11#b84e4d992026-10-14
  • R24-11rel:R24-11#ed3381e72026-10-14
  • R25-11rel:R25-11#ed3381e72026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function AutoFloatMax [SWS_LOG_00224] Upstream: RS_LT_00046

constexpr Format AutoFloatMax () noexcept;

Create a Format instance with Fmt::kAutoFloat formatting hint and a precision that is sufficient for full round-trip safety. .

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00224
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00224@rel:R25-11#5fd78aa1
Content hash
5fd78aa1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00224
Status: valid/auto-approved Version: rel:R25-11#a4cb126a Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00224@rel:R25-11#a4cb126a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#5fd78aa12026-09-30
  • R21-11rel:R21-11#984121432026-10-14
  • R22-11rel:R22-11#14ab4ecd2026-10-14
  • R23-11rel:R23-11#444385d22026-10-14
  • R24-11rel:R24-11#a4cb126a2026-10-14
  • R25-11rel:R25-11#a4cb126a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function Bin [SWS_LOG_00215] Upstream: RS_LT_00046

constexpr Format Bin () noexcept;

Create a Format instance with Fmt::kBin formatting hint and default precision. .

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00215
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00215@rel:R25-11#97534f74
Content hash
97534f74
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00215
Status: valid/auto-approved Version: rel:R25-11#be9f44f7 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00215@rel:R25-11#be9f44f7
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#97534f742026-09-30
  • R21-11rel:R21-11#01fe5f422026-10-14
  • R22-11rel:R22-11#65b5d3ae2026-10-14
  • R23-11rel:R23-11#ac3556212026-10-14
  • R24-11rel:R24-11#be9f44f72026-10-14
  • R25-11rel:R25-11#be9f44f72026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function Bin [SWS_LOG_00216] Upstream: RS_LT_00046

constexpr Format Bin (std::uint16_t precision) noexcept;

Create a Format instance with Fmt::kBin formatting hint and given precision.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00216
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00216@rel:R25-11#21567ce8
Content hash
21567ce8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00216
Status: valid/auto-approved Version: rel:R25-11#9b04c221 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00216@rel:R25-11#9b04c221
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#21567ce82026-09-30
  • R21-11rel:R21-11#7dd8f5642026-10-14
  • R22-11rel:R22-11#7fcfffa42026-10-14
  • R23-11rel:R23-11#56568ba32026-10-14
  • R24-11rel:R24-11#9b04c2212026-10-14
  • R25-11rel:R25-11#9b04c2212026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function CreateLogger [SWS_LOG_00021] Upstream: RS_LT_00003, RS_LT_00050

Logger & CreateLogger (ara::core::StringView ctxId, ara::core::String View ctxDescription, LogLevel ctxDefLogLevel) noexcept;

Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.

Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.

Validate requirementfunction CreateLogger [SWS_LOG_00021] Upstream: RS_LT_00003 , RS_LT_00050

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function CreateLogger [SWS_LOG_00021] Upstream: RS_LT_00003 , RS_LT_00050
Requirement-ID
SWS_LOG_00021
Flag-ID
SWS_LOG_00021
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
4d0c42e8d7e43c108ffb3a2b8a2487f6375da5adfb6e283cc7c5b69c302397dd
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: d61f94356eb8 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function CreateLogger in namespace ara::log serves to create and register a Logger object, which manages the respective context within the logging framework [SWS_LOG_00021]. Upon invocation, context identifier ctxId, textual description ctxDescription, and default log level ctxDefLogLevel are passed [SWS_LOG_00021]. If no model is available, the framework redirects output to the console as a sink by default [SWS_LOG_00021].

The function returns a reference Logger & to the internally managed instance. Ownership remains entirely with the logging framework [SWS_LOG_00021].

Concurrency and Execution Safety

The interface is declared as noexcept and specified as both exception safe and thread-safe [SWS_LOG_00021]. It can thus be safely called from multiple concurrent threads.

Interaction and Alternatives

Related interfaces are available for different configuration approaches:

  • An alternative overload allows instantiation using only ctxId and ctxDescription [SWS_LOG_00263], implicitly using Warning as the default log level [SWS_LOG_00021].
  • In addition, a Logger can be derived model-based via an ara::core::InstanceSpecifier from the manifest [SWS_LOG_00256]. In doing so, the platform checks for errors such as InstanceSpecifierMappingIntegrityViolation or PortInterfaceMappingViolation [SWS_LOG_00256].

This text was generated by an AI based on specification documents of AUTOSAR R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
ctxIdThe context ID.
ctxDescriptionThe description of the provided context ID.
ctxDefLogLevelThe default log level, set to Warning severity if not explicitly specified.

Rückgabewert

TypBeschreibung
Logger &Reference to the internal managed instance of a Logger object. Ownership stays within the Logging framework

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00021
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00021@rel:R25-11#976bcea3
Content hash
976bcea3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00021
Status: valid/auto-approved Version: rel:R25-11#a67ccf8e Versionshistorie & Revisions (3 transitions, 8 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00021@rel:R25-11#a67ccf8e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#976bcea32026-09-30
  • R19-11rel:R19-11#2d99153d2026-10-14
  • R20-11rel:R20-11#c08b10902026-10-14
  • R21-11rel:R21-11#c08b10902026-10-14
  • R22-11rel:R22-11#db00ac392026-10-14
  • R23-11rel:R23-11#a46fdcaf2026-10-14
  • R24-11rel:R24-11#a67ccf8e2026-10-14
  • R25-11rel:R25-11#a67ccf8e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function CreateLogger [SWS_LOG_00256] Upstream: RS_LT_00003, RS_LT_00050

Logger & CreateLogger (const ara::core::InstanceSpecifier &is) noexcept;

Creates a Logger object derived from the manifest.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 27922916bcc4 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The synchronous function CreateLogger creates or returns a reference to an internally managed Logger object based on the model data of the manifest [SWS_LOG_00256]. A reference to an ara::core::InstanceSpecifier, which identifies the desired model element in the context of the running process, serves as invocation parameter [SWS_LOG_00256].

The function is declared as noexcept, is considered exception safe (exception safe), and is specified as thread-safe so that calls can occur reentrantly and concurrently [SWS_LOG_00256]. For erroneous configurations or invalid model contexts, the specification defines several violations (Violations) [SWS_LOG_00256]:

  • InstanceSpecifierMappingIntegrityViolation: Occurs when the InstanceSpecifier cannot be resolved in the context of the executable or refers to an element other than an PortPrototype [SWS_LOG_00256].
  • PortInterfaceMappingViolation: Triggered if the mapping type does not correspond to the expected type of the port interface [SWS_LOG_00256].
  • ProcessMappingViolation: Takes effect when a matching InstanceRef exists, but no modeled process matches the runtime process [SWS_LOG_00256].
  • InstanceSpecifierAlreadyInUseViolation: Signals that a constructor in the framework was called with an identifier that is already in use in this process [SWS_LOG_00256].

Compared to overloads [SWS_LOG_00021] and [SWS_LOG_00263], which initialize loggers programmatically via context IDs and description strings and, in the absence of a model, use the console as a sink by default, configuration here is completely manifest-driven. In all variants, ownership of the instance remains within the logging framework [SWS_LOG_00263].

This text was curated by an AI and is based on the specifications of the AUTOSAR specification.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
isan InstanceSpecifier

Rückgabewert

TypBeschreibung
Logger &reference to the internal managed instance of a Logger object

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00256
Status
valid/ai-decided
Version
AUTOSAR/AP/record/SWS_LOG_00256@rel:R25-11#0fee5714
Content hash
0fee5714
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00256
Status: valid/ai-decided Version: rel:R25-11#9c491267 Versionshistorie & Revisions (2 transitions, 5 revision)
Current State
valid/ai-decided
Reason
campaign AI decision recorded
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00256@rel:R25-11#9c491267
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#0fee57142026-09-30
  • R22-11rel:R22-11#ee39b30b2026-10-14
  • R23-11rel:R23-11#37c2725e2026-10-14
  • R24-11rel:R24-11#d71446c02026-10-14
  • R25-11rel:R25-11#9c4912672026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10aiinvalid/obsolete → valid/ai-decidedcampaign AI decision recorded2026-08-sws-log-pilot-after-tool-improvement

function CreateLogger [SWS_LOG_00263] Upstream: RS_LT_00003, RS_LT_00050

Logger & CreateLogger (ara::core::StringView ctxId, ara::core::String View ctxDescription) noexcept;

Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: e7acfbf050b9 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Function CreateLogger in namespace ara::log ([SWS_LOG_00263]) serves to create and register a context-bound Logger object within the logging framework of AUTOSAR Adaptive.

use

Via header file ara/log/logger.h, the function accepts the context identifier ctxId as well as the detailed description ctxDescription, each as type ara::core::StringView [SWS_LOG_00263]. As a return value, the call returns a reference Logger & to the internally managed instance of the created Logger object [SWS_LOG_00263]. Ownership of this instance remains permanently with the logging framework and is not transferred to the caller [SWS_LOG_00263]. If no model is available in the system, the console functions by default as a sink for all logging output [SWS_LOG_00263].

Error Handling and Concurrency

No specific error codes are defined for the invocation and no C++ exceptions are thrown, as the function is specified with noexcept and designated as exception safe [SWS_LOG_00263]. In terms of concurrency, CreateLogger is thread-safe, so the function can be called concurrently from multiple threads without external synchronization [SWS_LOG_00263].

Interaction

The logging framework offers closely related overloads: In addition to this two-parameter signature, an overload allows the additional configuration of a default log level via ctxDefLogLevel ([SWS_LOG_00021]). A further signature enables the creation of a Logger object via an ara::core::InstanceSpecifier directly from the manifest ([SWS_LOG_00256]).

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
ctxIdThe context ID
ctxDescriptionThe description of the provided context ID

Rückgabewert

TypBeschreibung
Logger &reference to the internal managed instance of a Logger object Ownership stays within the Logging framework

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00263
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00263@rel:R25-11#088786b0
Content hash
088786b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00263
Status: valid/auto-approved Version: rel:R25-11#3aa56509 Versionshistorie & Revisions (2 transitions, 5 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00263@rel:R25-11#3aa56509
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#088786b02026-09-30
  • R22-11rel:R22-11#65e248a22026-10-14
  • R23-11rel:R23-11#0539ae5b2026-10-14
  • R24-11rel:R24-11#fab704f32026-10-14
  • R25-11rel:R25-11#3aa565092026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function Dec [SWS_LOG_00211] Upstream: RS_LT_00046

constexpr Format Dec () noexcept;

Create a Format instance with Fmt::kDec formatting hint and default precision. .

Create a Format instance with Fmt::kDec formatting hint and default precision.

Validate requirementfunction Dec [SWS_LOG_00211] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kDec formatting hint and default precision.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Dec [SWS_LOG_00211] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00211
Flag-ID
SWS_LOG_00211
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
7b662fea316c6815bd91fa43ec23044acc6e3dac4df5937ea0d37d7707367e60
Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00211
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00211@rel:R25-11#0968f575
Content hash
0968f575
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00211
Status: valid/auto-approved Version: rel:R25-11#552d97a6 Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00211@rel:R25-11#552d97a6
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#0968f5752026-09-30
  • R21-11rel:R21-11#733c94cd2026-10-14
  • R22-11rel:R22-11#1ab3d9a92026-10-14
  • R23-11rel:R23-11#b6bea3352026-10-14
  • R24-11rel:R24-11#552d97a62026-10-14
  • R25-11rel:R25-11#552d97a62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function Dec [SWS_LOG_00212] Upstream: RS_LT_00046

constexpr Format Dec (std::uint16_t precision) noexcept;

Create a Format instance with Fmt::kDec formatting hint and given precision.

Create a Format instance with Fmt::kDec formatting hint and given precision.

Validate requirementfunction Dec [SWS_LOG_00212] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kDec formatting hint and given precision.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Dec [SWS_LOG_00212] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00212
Flag-ID
SWS_LOG_00212
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
9f46914995a5d1c13b48a1c193c571c6cb98b8db3bacf23bd5dc90ec4ab29578
Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00212
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00212@rel:R25-11#fc9c0386
Content hash
fc9c0386
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00212
Status: valid/auto-approved Version: rel:R25-11#bf6199f4 Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00212@rel:R25-11#bf6199f4
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#fc9c03862026-09-30
  • R21-11rel:R21-11#4164b1fa2026-10-14
  • R22-11rel:R22-11#cacb954f2026-10-14
  • R23-11rel:R23-11#825293ee2026-10-14
  • R24-11rel:R24-11#bf6199f42026-10-14
  • R25-11rel:R25-11#bf6199f42026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function DecFloat [SWS_LOG_00217] Upstream: RS_LT_00046

constexpr Format DecFloat (std::uint16_t precision=6) noexcept;

Create a Format instance with Fmt::kDecFloat formatting hint and given precision.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00217
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00217@rel:R25-11#e9c16906
Content hash
e9c16906
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00217
Status: valid/auto-approved Version: rel:R25-11#b1e9874d Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00217@rel:R25-11#b1e9874d
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#e9c169062026-09-30
  • R21-11rel:R21-11#0f8874872026-10-14
  • R22-11rel:R22-11#dfe163022026-10-14
  • R23-11rel:R23-11#776a29bc2026-10-14
  • R24-11rel:R24-11#b1e9874d2026-10-14
  • R25-11rel:R25-11#b1e9874d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function DecFloatMax [SWS_LOG_00218] Upstream: RS_LT_00046

constexpr Format DecFloatMax () noexcept;

Create a Format instance with Fmt::kDecFloat formatting hint and a precision that is sufficient for full round-trip safety. .

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00218
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00218@rel:R25-11#26f3b7a6
Content hash
26f3b7a6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00218
Status: valid/auto-approved Version: rel:R25-11#af3ab7fa Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00218@rel:R25-11#af3ab7fa
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#26f3b7a62026-09-30
  • R21-11rel:R21-11#a04d1cdc2026-10-14
  • R22-11rel:R22-11#a28dd1d22026-10-14
  • R23-11rel:R23-11#b283a5e82026-10-14
  • R24-11rel:R24-11#af3ab7fa2026-10-14
  • R25-11rel:R25-11#af3ab7fa2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function Dflt [SWS_LOG_00208] Upstream: RS_LT_00046

constexpr Format Dflt () noexcept;

Create a Format instance with Fmt::kDefault formatting hint. .

Create a Format instance with Fmt::kDefault formatting hint.

Validate requirementfunction Dflt [SWS_LOG_00208] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kDefault formatting hint.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Dflt [SWS_LOG_00208] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00208
Flag-ID
SWS_LOG_00208
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
3517598d5337aa08a12a4af5a3347c80908682f153c7f7400422e4fe5441cb8d
Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00208
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00208@rel:R25-11#ccd22b37
Content hash
ccd22b37
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00208
Status: valid/auto-approved Version: rel:R25-11#fe0445c2 Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00208@rel:R25-11#fe0445c2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#ccd22b372026-09-30
  • R21-11rel:R21-11#d959e6cc2026-10-14
  • R22-11rel:R22-11#89aea3422026-10-14
  • R23-11rel:R23-11#a0a8eef32026-10-14
  • R24-11rel:R24-11#fe0445c22026-10-14
  • R25-11rel:R25-11#fe0445c22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function EngFloat [SWS_LOG_00219] Upstream: RS_LT_00046

constexpr Format EngFloat (std::uint16_t precision=6) noexcept;

Create a Format instance with Fmt::kEngFloat formatting hint and given precision.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00219
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00219@rel:R25-11#46ab3776
Content hash
46ab3776
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00219
Status: valid/auto-approved Version: rel:R25-11#92184b52 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00219@rel:R25-11#92184b52
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#46ab37762026-09-30
  • R21-11rel:R21-11#55a6c05d2026-10-14
  • R22-11rel:R22-11#62d32cc02026-10-14
  • R23-11rel:R23-11#296172c52026-10-14
  • R24-11rel:R24-11#92184b522026-10-14
  • R25-11rel:R25-11#92184b522026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function EngFloatMax [SWS_LOG_00220] Upstream: RS_LT_00046

constexpr Format EngFloatMax () noexcept;

Create a Format instance with Fmt::kEngFloat formatting hint and a precision that is sufficient for full round-trip safety. .

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 728634d333ca Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function ara::log::EngFloatMax() from the header file ara/log/logger.h synchronously creates an instance of type Format [SWS_LOG_00220]. The returned object contains the formatting hint Fmt::kEngFloat for outputting floating-point numbers in engineering notation as well as a precision sufficient for full round-trip safety [SWS_LOG_00220]. The function expects no parameters.

Error handling

The function is provided with the specifier noexcept and defined as exception safe (exception safe) [SWS_LOG_00220]. No specific error codes exist, and neither exceptions are thrown nor errors transmitted to diagnostic or error reporting entities. The call does not fail in regular operation.

Concurrency and Limitations

The specification designates the function as thread-safe (thread-safe) [SWS_LOG_00220]. Thanks to the designation as constexpr, the call can already be evaluated at compile time. Interpretation: Since the specification defines no preconditions and the function is stateless, there are likely to be neither restrictions regarding the call context nor dependencies on a prior initialization of the logging infrastructure. Question Q-90c67bfad5b19641 (open)

This usage note was generated by an AI based on the specification AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00220
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00220@rel:R25-11#22de8459
Content hash
22de8459
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00220
Status: valid/auto-approved Version: rel:R25-11#b3a731e7 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00220@rel:R25-11#b3a731e7
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#22de84592026-09-30
  • R21-11rel:R21-11#943e147c2026-10-14
  • R22-11rel:R22-11#46e9ab922026-10-14
  • R23-11rel:R23-11#177b1ed22026-10-14
  • R24-11rel:R24-11#b3a731e72026-10-14
  • R25-11rel:R25-11#b3a731e72026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function Hex [SWS_LOG_00209] Upstream: RS_LT_00046

constexpr Format Hex () noexcept;

Create a Format instance with Fmt::kHex formatting hint and default precision. .

Create a Format instance with Fmt::kHex formatting hint and default precision.

Validate requirementfunction Hex [SWS_LOG_00209] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kHex formatting hint and default precision.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Hex [SWS_LOG_00209] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00209
Flag-ID
SWS_LOG_00209
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
1e59521c26fdc684aadbdfdbc4e4dd6319bf8d90b272ce2c11cac80a536661ba
Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00209
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00209@rel:R25-11#6feab0ab
Content hash
6feab0ab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00209
Status: valid/auto-approved Version: rel:R25-11#b8fc8150 Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00209@rel:R25-11#b8fc8150
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#6feab0ab2026-09-30
  • R21-11rel:R21-11#748510ca2026-10-14
  • R22-11rel:R22-11#88e112532026-10-14
  • R23-11rel:R23-11#61593af12026-10-14
  • R24-11rel:R24-11#b8fc81502026-10-14
  • R25-11rel:R25-11#b8fc81502026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function Hex [SWS_LOG_00210] Upstream: RS_LT_00046

constexpr Format Hex (std::uint16_t precision) noexcept;

Create a Format instance with Fmt::kHex formatting hint and given precision.

Create a Format instance with Fmt::kHex formatting hint and given precision.

Validate requirementfunction Hex [SWS_LOG_00210] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kHex formatting hint and given precision.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Hex [SWS_LOG_00210] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00210
Flag-ID
SWS_LOG_00210
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
23dfb91cd5b219d9cc001b15a962ce1d61c421fcec5a7ee593cfeeabe6153a89
Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00210
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00210@rel:R25-11#d0361cd6
Content hash
d0361cd6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00210
Status: valid/auto-approved Version: rel:R25-11#e4bc509d Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00210@rel:R25-11#e4bc509d
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#d0361cd62026-09-30
  • R21-11rel:R21-11#53b1c08a2026-10-14
  • R22-11rel:R22-11#fc3eea052026-10-14
  • R23-11rel:R23-11#ddf4cb8b2026-10-14
  • R24-11rel:R24-11#e4bc509d2026-10-14
  • R25-11rel:R25-11#e4bc509d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function HexFloat [SWS_LOG_00221] Upstream: RS_LT_00046

constexpr Format HexFloat (std::uint16_t precision) noexcept;

Create a Format instance with Fmt::kHexFloat formatting hint and given precision.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 2ffe78f5109c Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The helper function HexFloat serves to create a formatting object for floating-point numbers for output in hexadecimal format according to [SWS_LOG_00221]. It instantiates an object of type Format that is provided with the formatting hint Fmt::kHexFloat as well as a specified precision.

Usage and Parameters

The function is available in namespace ara::log via header #include "ara/log/logger.h" [SWS_LOG_00221]:

  • Parameters: As input parameter, precision of type std::uint16_t is passed, which specifies the desired output precision [SWS_LOG_00221].
  • Return value: An initialized Format object with set Fmt::kHexFloat prefix [SWS_LOG_00221].
  • Execution: By being marked as constexpr, construction of the formatting hint can occur synchronously at runtime or already at compile time [SWS_LOG_00221].

Error Handling and Concurrency

The signature is declared with noexcept and is considered completely exception-safe (exception safe) [SWS_LOG_00221]. Neither error codes nor specific error messages are generated. The function is specified as thread-safe (thread-safe) and can be invoked concurrently from arbitrary contexts without synchronization overhead [SWS_LOG_00221].

This usage note was generated automatically based on the specification of AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00221
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00221@rel:R25-11#7e7a8dcd
Content hash
7e7a8dcd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00221
Status: valid/auto-approved Version: rel:R25-11#07600d62 Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00221@rel:R25-11#07600d62
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#7e7a8dcd2026-09-30
  • R21-11rel:R21-11#a27bcb492026-10-14
  • R22-11rel:R22-11#ba63fd0a2026-10-14
  • R23-11rel:R23-11#3db789382026-10-14
  • R24-11rel:R24-11#07600d622026-10-14
  • R25-11rel:R25-11#07600d622026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function HexFloatMax [SWS_LOG_00222] Upstream: RS_LT_00046

constexpr Format HexFloatMax () noexcept;

Create a Format instance with Fmt::kHexFloat formatting hint and a precision that is sufficient for full round-trip safety. .

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 98728cb410cd Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The function HexFloatMax in namespace ara::log serves to create a Format instance for the formatted output of floating-point values [SWS_LOG_00222]. It is provided via the header file #include "ara/log/logger.h" and takes no call parameters [SWS_LOG_00222]. As a synchronous return value, a Format instance is returned, which is provided with the formatting hint Fmt::kHexFloat and has a precision that ensures full round-trip safety [SWS_LOG_00222].

The signature is declared as constexpr as well as noexcept [SWS_LOG_00222]. This permits evaluation already at compile time and guarantees that no exceptions can occur during execution. Special error states, error codes, or mechanisms for error handling are not specified for this call, as creation of the format object always takes place without error.

Regarding the call context and concurrency, the function is specified as exception safe (exception safe) and thread-safe (thread-safe) [SWS_LOG_00222]. It is subject to no sequential call restrictions and can be called safely and concurrently from arbitrary threads without additional synchronization.

This usage note was generated automatically based on the AUTOSAR specification for R25-11.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00222
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00222@rel:R25-11#36563faa
Content hash
36563faa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00222
Status: valid/auto-approved Version: rel:R25-11#e092affc Versionshistorie & Revisions (2 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00222@rel:R25-11#e092affc
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#36563faa2026-09-30
  • R21-11rel:R21-11#497eee322026-10-14
  • R22-11rel:R22-11#593f25a62026-10-14
  • R23-11rel:R23-11#9705e6d62026-10-14
  • R24-11rel:R24-11#e092affc2026-10-14
  • R25-11rel:R25-11#e092affc2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement

function Oct [SWS_LOG_00213] Upstream: RS_LT_00046

constexpr Format Oct () noexcept;

Create a Format instance with Fmt::kOct formatting hint and default precision. .

Create a Format instance with Fmt::kOct formatting hint and default precision.

Validate requirementfunction Oct [SWS_LOG_00213] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kOct formatting hint and default precision.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Oct [SWS_LOG_00213] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00213
Flag-ID
SWS_LOG_00213
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
0d98563bf793e8e238cce1904ccafbad1c596aa5dc4338b08bf17b83b9545ec8
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 385124e3fb4e Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function ara::log::Oct() serves as a helper function for creating a formatting object for logging output in the octal system [SWS_LOG_00213]. It takes no parameters and synchronously returns an object of type Format configured with the formatting hint Fmt::kOct and a default precision [SWS_LOG_00213]. Since the function is declared as constexpr, the instantiation can already take place at compile time. Interpretation: The returned Format object is likely primarily intended for controlling the formatting of integers in log streams. Question Q-3f4fe5ac42de16cb (open)

Error handling

The function guarantees exception safety (exception safe) and is explicitly declared as noexcept [SWS_LOG_00213]. The occurrence of runtime errors or the throwing of exceptions is excluded. Specific error codes do not exist, and no notifications are sent to DET or DEM.

Concurrency and Limitations

Calling Oct() is unconditionally thread-safe (thread-safe) [SWS_LOG_00213]. Because no shared states are modified, the function is not subject to any constraints regarding reentrancy or call context and can be called concurrently from multiple threads.

Interaction

The function is defined in namespace ara::log and provided via header file #include "ara/log/logger.h" [SWS_LOG_00213]. In addition to this parameterless variant, the overload Oct(std::uint16_t precision) exists, via which a different precision can be specified [SWS_LOG_00214].

This usage note was generated automatically based on the AUTOSAR specification.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00213
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00213@rel:R25-11#2e694a6f
Content hash
2e694a6f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00213
Status: valid/auto-approved Version: rel:R25-11#9024a506 Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00213@rel:R25-11#9024a506
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#2e694a6f2026-09-30
  • R21-11rel:R21-11#b9c60b292026-10-14
  • R22-11rel:R22-11#94d1c12f2026-10-14
  • R23-11rel:R23-11#f742fac82026-10-14
  • R24-11rel:R24-11#9024a5062026-10-14
  • R25-11rel:R25-11#9024a5062026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function Oct [SWS_LOG_00214] Upstream: RS_LT_00046

constexpr Format Oct (std::uint16_t precision) noexcept;

Create a Format instance with Fmt::kOct formatting hint and given precision.

Create a Format instance with Fmt::kOct formatting hint and given precision.

Validate requirementfunction Oct [SWS_LOG_00214] Upstream: RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Create a Format instance with Fmt::kOct formatting hint and given precision.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Oct [SWS_LOG_00214] Upstream: RS_LT_00046
Requirement-ID
SWS_LOG_00214
Flag-ID
SWS_LOG_00214
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
91027575a070dd8d6404ff57bc499e91d130fd2a1f6278243d23e31d93188d52
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: acd78a533e1e Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The helper function ara::log::Oct is provided via the header file #include "ara/log/logger.h" in namespace ara::log [SWS_LOG_00214]. It serves to create an instance of type Format with the formatting hint Fmt::kOct as well as a specified precision [SWS_LOG_00214]. As an input parameter, the function accepts the unsigned 16-bit integer value precision, which specifies the precision to be applied [SWS_LOG_00214]. The function operates synchronously and returns the created Format instance immediately [SWS_LOG_00214].

Error Handling and Concurrency

The function is declared as noexcept and explicitly specified as exception-safe (exception safe) [SWS_LOG_00214]. Neither specific error codes nor notifications via DET or DEM exist in case of an error. Regarding call context and concurrency, the function is classified as thread-safe (thread-safe) [SWS_LOG_00214]. Because it is also defined as constexpr, the creation of the formatting instruction can already occur at compile time [SWS_LOG_00214].

Interaction

Within module log, the function complements the related overload Oct() [SWS_LOG_00213]. While the parameterless variant constructs a Format instance with default precision (default precision) [SWS_LOG_00213], the present function allows the explicit configuration of a user-specific precision for octal formatting [SWS_LOG_00214].

This text was generated by an AI based on the AUTOSAR specification.

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
precisionthe precision to use

Rückgabewert

TypBeschreibung
Formata Format instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00214
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00214@rel:R25-11#75ca018b
Content hash
75ca018b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00214
Status: valid/auto-approved Version: rel:R25-11#fe5dd9cd Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00214@rel:R25-11#fe5dd9cd
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#75ca018b2026-09-30
  • R21-11rel:R21-11#5b0b42f02026-10-14
  • R22-11rel:R22-11#583e9be42026-10-14
  • R23-11rel:R23-11#5363bf9b2026-10-14
  • R24-11rel:R24-11#fe5dd9cd2026-10-14
  • R25-11rel:R25-11#fe5dd9cd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function RegisterConnectionStateHandler [SWS_LOG_00205] Upstream: RS_LT_00003, RS_LT_00050

void RegisterConnectionStateHandler (ConnectionStateHandler callback) noexcept;

Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.

Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.

Validate requirementfunction RegisterConnectionStateHandler [SWS_LOG_00205] Upstream: RS_LT_00003 , RS_LT_00050

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function RegisterConnectionStateHandler [SWS_LOG_00205] Upstream: RS_LT_00003 , RS_LT_00050
Requirement-ID
SWS_LOG_00205
Flag-ID
SWS_LOG_00205
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
7277e873d69d6aa3fee1974c126affd721a9e95eed8817c133036763ce975f0a
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 240d7b239d7a Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The function RegisterConnectionStateHandler in namespace ara::log serves to register an application-side callback function that is called upon every change of the connection state [SWS_LOG_00205]. It is declared in header ara/log/logger.h [SWS_LOG_00205]. A function object callback of type ConnectionStateHandler is passed as a parameter [SWS_LOG_00205], which is specified as a type alias for std::function<void(ClientState)> [SWS_LOG_00265]. A return value is not present (void) [SWS_LOG_00205].

Regarding lifecycle and sequencing, it is specified that only a single state handler can be installed at any point in time [SWS_LOG_00205]. If a callback function was already registered previously, every renewed call completely overwrites the existing instance, so that from this point on exclusively the handler passed last is executed [SWS_LOG_00205].

The function is declared with noexcept and specified as exception-safe [SWS_LOG_00205]. Specific error codes, error values, or notifications to error or diagnostic monitors are not defined in the specification [SWS_LOG_00205].

Regarding concurrency, RegisterConnectionStateHandler is explicitly classified as not thread-safe [SWS_LOG_00205]. The registration must therefore not be called unprotected concurrently from multiple threads and should ideally take place during the initialization phase. In contrast, the type alias ConnectionStateHandler is specified as thread-safe [SWS_LOG_00265]. Interpretation: From this, it is likely to follow that the registered callback can potentially be called from concurrent contexts by the internal logging runtime environment upon state changes. Question Q-59eae7980ba48666 (open)

This text was created by an AI and is based on the specifications of AUTOSAR release R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/log/logger.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
callbacka callback that is invoked whenever the connection state has changed

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00205
Status
valid/auto-approved
Version
AUTOSAR/AP/record/SWS_LOG_00205@rel:R25-11#7291780c
Content hash
7291780c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00205
Status: valid/auto-approved Version: rel:R25-11#00287738 Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/auto-approved
Reason
unchanged
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00205@rel:R25-11#00287738
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#7291780c2026-09-30
  • R21-11rel:R21-11#caf74f2d2026-10-14
  • R22-11rel:R22-11#e6cb4c452026-10-14
  • R23-11rel:R23-11#726f79442026-10-14
  • R24-11rel:R24-11#002877382026-10-14
  • R25-11rel:R25-11#002877382026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10toolinvalid/obsolete → valid/auto-approvedunchanged2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/auto-approvedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function operator<< [SWS_LOG_00063] Upstream: RS_LT_00003, RS_LT_00046

LogStream & operator<< (LogStream &out, LogLevel value) noexcept;

Appends LogLevel enum parameter as text into message.

Appends LogLevel enum parameter as text into message.

Validate requirementfunction operator<< [SWS_LOG_00063] Upstream: RS_LT_00003 , RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Appends LogLevel enum parameter as text into message.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00063] Upstream: RS_LT_00003 , RS_LT_00046
Requirement-ID
SWS_LOG_00063
Flag-ID
SWS_LOG_00063
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
6bc8c09cd883f7923e5c13f681e2f5fdd534e9d735ddc43de857ea3377bf585f
Header-Datei#include "ara/log/log_stream.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
valueLogLevel enum parameter as text to be appended to the internal message buffer.

Parameter (in/out)

ParameterBeschreibung
outLogStream Object which is used to append the logged LogLevel (value) to

Rückgabewert

TypBeschreibung
LogStream &*this

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00063
Status
valid/ai-decided
Version
AUTOSAR/AP/record/SWS_LOG_00063@rel:R25-11#1bc75144
Content hash
1bc75144
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00063
Status: valid/ai-decided Version: rel:R25-11#79509eed Versionshistorie & Revisions (3 transitions, 8 revision)
Current State
valid/ai-decided
Reason
campaign AI decision recorded
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00063@rel:R25-11#79509eed
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1bc751442026-09-30
  • R19-11rel:R19-11#a96efa892026-10-14
  • R20-11rel:R20-11#792476692026-10-14
  • R21-11rel:R21-11#6cd8a2ba2026-10-14
  • R22-11rel:R22-11#48fbe4ca2026-10-14
  • R23-11rel:R23-11#3d69d02a2026-10-14
  • R24-11rel:R24-11#79509eed2026-10-14
  • R25-11rel:R25-11#79509eed2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10aiinvalid/obsolete → valid/ai-decidedcampaign AI decision recorded2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/ai-decidedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function operator<< [SWS_LOG_00124] Upstream: RS_LT_00003, RS_LT_00046

LogStream & operator<< (LogStream &out, const core::ErrorCode &ec) noexcept;

Write a core::ErrorCode instance into the message. When output to the console, the ErrorCode shall be shown in an implementation-defined way as a String holding the result of ErrorCode:Domain().Name() (i.e. the ErrorDomain’s Shortname), and the integral error code number.

Write a core::ErrorCode instance into the message. When output to the console, the ErrorCode shall be shown in an implementation-defined way as a String holding the result of ErrorCode:Domain().Name() (i.e. the ErrorDomain’s Shortname), and the integral error code number.

Validate requirementfunction operator<< [SWS_LOG_00124] Upstream: RS_LT_00003 , RS_LT_00046

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Write a core::ErrorCode instance into the message. When output to the console, the ErrorCode shall be shown in an implementation-defined way as a String holding the result of ErrorCode:Domain().Name() (i.e. the ErrorDomain’s Shortname), and the integral error code number.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00124] Upstream: RS_LT_00003 , RS_LT_00046
Requirement-ID
SWS_LOG_00124
Flag-ID
SWS_LOG_00124
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
0f316c06320d52dca6899f694646e9d7e1725cfd7bcc8fb93aafbe20f6ed8f83
Header-Datei#include "ara/log/log_stream.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
ecthe ErrorCode instance to log

Parameter (in/out)

ParameterBeschreibung
outthe LogStream object into which to add the value

Rückgabewert

TypBeschreibung
LogStream &out

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00124
Status
valid/ai-decided
Version
AUTOSAR/AP/record/SWS_LOG_00124@rel:R25-11#e838fc49
Content hash
e838fc49
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00124
Status: valid/ai-decided Version: rel:R25-11#d71a5d43 Versionshistorie & Revisions (3 transitions, 8 revision)
Current State
valid/ai-decided
Reason
campaign AI decision recorded
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00124@rel:R25-11#d71a5d43
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e838fc492026-09-30
  • R19-11rel:R19-11#de33574c2026-10-14
  • R20-11rel:R20-11#119288112026-10-14
  • R21-11rel:R21-11#119288112026-10-14
  • R22-11rel:R22-11#2c3385352026-10-14
  • R23-11rel:R23-11#d84ab8072026-10-14
  • R24-11rel:R24-11#d71a5d432026-10-14
  • R25-11rel:R25-11#d71a5d432026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10aiinvalid/obsolete → valid/ai-decidedcampaign AI decision recorded2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/ai-decidedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function operator<< [SWS_LOG_00125] Upstream: RS_LT_00049

template <typename Rep, typename Period> LogStream & operator<< (LogStream &out, const std::chrono::duration< Rep, Period > &value) noexcept;

Write a std::chrono::duration instance into the message.

Write a std::chrono::duration instance into the message.

Validate requirementfunction operator<< [SWS_LOG_00125] Upstream: RS_LT_00049

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Write a std::chrono::duration instance into the message.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00125] Upstream: RS_LT_00049
Requirement-ID
SWS_LOG_00125
Flag-ID
SWS_LOG_00125
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
5eb27dff8e9b0b8305bc7b3baed36da88ba9dfecc183e8c7bd5a44856306cd60
Header-Datei#include "ara/log/log_stream.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
RepPeriodarithmetic type representing the number of ticks in this duration a std::ratio type representing the tick period of the clock, in seconds

Parameter (in)

ParameterBeschreibung
valuethe duration instance to log

Parameter (in/out)

ParameterBeschreibung
outthe LogStream object into which to add the value

Rückgabewert

TypBeschreibung
LogStream &out

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00125
Status
valid/ai-decided
Version
AUTOSAR/AP/record/SWS_LOG_00125@rel:R25-11#cf4c80be
Content hash
cf4c80be
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00125
Status: valid/ai-decided Version: rel:R25-11#bfad64a1 Versionshistorie & Revisions (3 transitions, 7 revision)
Current State
valid/ai-decided
Reason
campaign AI decision recorded
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00125@rel:R25-11#bfad64a1
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#cf4c80be2026-09-30
  • R20-11rel:R20-11#2d1b94c62026-10-14
  • R21-11rel:R21-11#92801c0d2026-10-14
  • R22-11rel:R22-11#46bc09342026-10-14
  • R23-11rel:R23-11#1748fc8b2026-10-14
  • R24-11rel:R24-11#b515455a2026-10-14
  • R25-11rel:R25-11#bfad64a12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10aiinvalid/obsolete → valid/ai-decidedcampaign AI decision recorded2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/ai-decidedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function operator<< [SWS_LOG_00126] Upstream: RS_LT_00049

LogStream & operator<< (LogStream &out, const ara::core::Instance Specifier &value) noexcept;

Write a core::InstanceSpecifier into the message.

Write a core::InstanceSpecifier into the message.

Validate requirementfunction operator<< [SWS_LOG_00126] Upstream: RS_LT_00049

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Write a core::InstanceSpecifier into the message.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00126] Upstream: RS_LT_00049
Requirement-ID
SWS_LOG_00126
Flag-ID
SWS_LOG_00126
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
8c9c8133f67af2b0253ab695e0a0dfc6ec93f4c73c29706305573cc5e861d64a
Header-Datei#include "ara/log/log_stream.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
valuethe InstanceSpecifier to log

Parameter (in/out)

ParameterBeschreibung
outthe LogStream object into which to add the value

Rückgabewert

TypBeschreibung
LogStream &out

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00126
Status
valid/ai-decided
Version
AUTOSAR/AP/record/SWS_LOG_00126@rel:R25-11#85a739fb
Content hash
85a739fb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00126
Status: valid/ai-decided Version: rel:R25-11#736881d9 Versionshistorie & Revisions (3 transitions, 7 revision)
Current State
valid/ai-decided
Reason
campaign AI decision recorded
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00126@rel:R25-11#736881d9
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#85a739fb2026-09-30
  • R20-11rel:R20-11#054fc1a52026-10-14
  • R21-11rel:R21-11#054fc1a52026-10-14
  • R22-11rel:R22-11#d2255b092026-10-14
  • R23-11rel:R23-11#57305fa12026-10-14
  • R24-11rel:R24-11#736881d92026-10-14
  • R25-11rel:R25-11#736881d92026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10aiinvalid/obsolete → valid/ai-decidedcampaign AI decision recorded2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/ai-decidedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import

function operator<< [SWS_LOG_00127] Upstream: RS_LT_00049

LogStream & operator<< (LogStream &out, const void *value) noexcept;

Write a raw pointer into the message.

Write a raw pointer into the message.

Validate requirementfunction operator<< [SWS_LOG_00127] Upstream: RS_LT_00049

Was muss freigegeben werden?

Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.

Write a raw pointer into the message.

Prüfkontext

Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00127] Upstream: RS_LT_00049
Requirement-ID
SWS_LOG_00127
Flag-ID
SWS_LOG_00127
Status
pending
Konfidenz
medium
Herkunft
explicit
Modul
log
Spezifikationsdokument
AUTOSAR_AP_SWS_LogAndTrace
Text-Hash
5d3b4f75af5a5afc88557a6e603f5840d98b195e87666e1082374b3f7c9b007c
Header-Datei#include "ara/log/log_stream.h"
Scopenamespace ara::log
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
valueto log

Parameter (in/out)

ParameterBeschreibung
outthe LogStream object into which to add the value

Rückgabewert

TypBeschreibung
LogStream &out

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_LOG_00127
Status
valid/ai-decided
Version
AUTOSAR/AP/record/SWS_LOG_00127@rel:R25-11#cea806d4
Content hash
cea806d4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00127
Status: valid/ai-decided Version: rel:R25-11#f4f9fedf Versionshistorie & Revisions (3 transitions, 6 revision)
Current State
valid/ai-decided
Reason
campaign AI decision recorded
Campaign
2026-08-sws-log-pilot-after-tool-improvement
Active Version
AUTOSAR/AP/record/SWS_LOG_00127@rel:R25-11#f4f9fedf
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#cea806d42026-09-30
  • R21-11rel:R21-11#f3810ed22026-10-14
  • R22-11rel:R22-11#c77c26892026-10-14
  • R23-11rel:R23-11#cc3f17452026-10-14
  • R24-11rel:R24-11#f4f9fedf2026-10-14
  • R25-11rel:R25-11#f4f9fedf2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-10toolvalid/unversioned → invalid/obsoletespec update after tool improvement2026-08-sws-log-pilot-after-tool-improvement
2026-08-10aiinvalid/obsolete → valid/ai-decidedcampaign AI decision recorded2026-08-sws-log-pilot-after-tool-improvement
2026-08-10T14:00:00Zassistantnone → valid/ai-decidedÜberführung vorhandener Prosa-Beschreibung in requirement_text-Formatlegacy-desc-import