DEENESPTFRRUARHIKOZHNL

네임스페이스 ara::log

사용자 가이드AI 생성

로깅 컨텍스트, 포맷된 메시지 스트림 생성 및 클라이언트 상태 모니터링을 지원합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: aad9146dd3fe 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

로깅 컨텍스트, 포맷된 메시지 스트림 생성 및 클라이언트 상태 모니터링을 지원합니다.

네임스페이스 ara::log는 컨텍스트 로거를 관리하고 DLT 백엔드 또는 콘솔과 같은 싱크로 형식화된 메시지 스트림을 출력하여 적응형 로깅 서비스를 제공합니다 [SWS_LOG_00021]. 애플리케이션은 팩토리 함수를 통해 로거를 획득하고, 인수 래퍼를 통해 포맷된 페이로드를 준비하며, 스레드 안전하게 로그 메시지에 데이터를 공급합니다. 필수적인 제약 조건으로서 모든 로거 인스턴스의 소유권은 프레임워크에 유지되는 반면, 연결 상태 핸들러의 등록은 명시적으로 스레드 안전하지 않습니다 [SWS_LOG_00205].

컨텍스트

네임스페이스 ara::log는 적응형 애플리케이션을 위한 중앙 로깅 인프라를 제공합니다. 핵심 책임에는 Logger 클래스를 통한 로깅 컨텍스트 관리, LogStream를 통한 구조화된 로그 메시지 생성, Argument 및 Format를 통한 포맷된 페이로드의 형식화된 전달이 포함됩니다. 프레임워크는 애플리케이션 측 로그 호출과 대상 싱크 간의 링크 역할을 합니다. 기본 싱크는 DLT 백엔드(Diagnostic Log and Trace)이며, 연결 상태는 열거형 ClientState를 통해 표현됩니다 [SWS_LOG_00098]. 사용 가능한 모델이 없는 경우 기본적으로 콘솔이 싱크 역할을 합니다 [SWS_LOG_00021]. 외부 원격 피어의 상태 변경은 ConnectionStateHandler 유형의 콜백 함수를 통해 모니터링할 수 있습니다 [SWS_LOG_00265].

LogKontext Anwendung Anwendung LoggingFramework LoggingFramework Anwendung->LoggingFramework nutzt API DltBackEnd DltBackEnd LoggingFramework->DltBackEnd 로그 메시지를 전달함 Konsole Konsole LoggingFramework->Konsole Fallback-Ausgabe RemoteClient RemoteClient DltBackEnd->RemoteClient Zustandsmeldung

컨텍스트 다이어그램: 애플리케이션, 콘솔, DLT 백엔드 및 외부 클라이언트 간의 로깅 프레임워크 상호작용 파트너. 출처: [SWS_LOG_00021], [SWS_LOG_00098], [SWS_LOG_00205].

수명 주기

Logger의 인스턴스는 애플리케이션에 의해 직접 생성되지 않고 팩토리 함수 CreateLogger에 의해 인스턴스화되어 로깅 프레임워크에 등록됩니다 [SWS_LOG_00021], [SWS_LOG_00263]. 소유권 관계는 명확히 정의되어 있습니다. 즉, 호출자에게 참조(Logger&)를 발행하는 로깅 프레임워크 내에 소유권이 완전히 유지됩니다(“Ownership stays within the Logging framework”) [SWS_LOG_00021]. 대안으로 ara::core::InstanceSpecifier를 기반으로 모델 기반 생성이 수행될 수 있습니다 [SWS_LOG_00256]. 해석: 프레임워크가 소유권을 유지하므로, 등록된 로거의 수명은 상위 프로세스에 바인딩될 것으로 추정됩니다. 질문 Q-4b81e462cf2e43b1 (열림)

동시성과 관련하여 CreateLogger를 통한 로거 생성은 스레드 안전한 것으로 명시되어 있습니다 [SWS_LOG_00021]. 반면 RegisterConnectionStateHandler를 통한 연결 상태 핸들러 등록은 명시적으로 스레드 안전하지 않으므로(“not thread-safe”) [SWS_LOG_00205], 일반적으로 동시 작업이 시작되기 전 초기화 단계 중에 수행되어야 합니다. 또한 항상 하나의 핸들러만 활성화될 수 있으며, 재등록 시 이전 콜백이 즉시 교체됩니다 [SWS_LOG_00205]. 외부 원격 피어의 연결 수명 주기는 kUnknown(DLT 백엔드가 아직 활성화되지 않음), kNotConnected 및 kConnected 단계를 거칩니다 [SWS_LOG_00098].

사용 경로

정규 흐름에는 모니터링 구성, 로거 획득 및 포맷된 메시지 출력이 포함됩니다:

ara::log 네임스페이스에서의 초기화 및 로깅애플리케이션ara::logLogStreamUse Case: 구성 및 초기화RegisterConnectionStateHandler(callback)CreateLogger("ctx", "desc", LogLevel::kInfo)Logger&Use Case: 인자 준비 및 출력Arg(val, "wert", "ms", Hex())Argument<T>operator<<(out, ec)LogStream&

시퀀스 다이어그램: 초기화, 로거 생성 및 LogStream을 통한 포맷된 데이터 출력의 전형적인 상호작용 순서. 출처: [SWS_LOG_00021], [SWS_LOG_00063], [SWS_LOG_00124], [SWS_LOG_00201], [SWS_LOG_00205].

오류 시나리오

네임스페이스의 함수들은 대부분 noexcept로 선언되어 no-throw 보장을 제공하지만 엄격한 전제 조건 및 위반 규칙의 적용을 받습니다:

  • 매니페스트 위반: CreateLogger(const ara::core::InstanceSpecifier&)를 통해 모델 기반으로 로거를 생성할 때 특정 런타임 위반이 발생할 수 있습니다: InstanceSpecifierMappingIntegrityViolation(지정자가 모델에서 확인되지 않거나 PortPrototype을 가리키지 않음), PortInterfaceMappingViolation(매핑 타입이 예상 PortInterface와 일치하지 않음), ProcessMappingViolation(일치하는 프로세스를 찾을 수 없음) 및 InstanceSpecifierAlreadyInUseViolation(지정자가 프로세스에서 이미 사용 중임) [SWS_LOG_00256].
  • 유효하지 않은 인수 타이핑: 타입 T이 산술 타입도 아니고 bool도 아니며 ara::core::StringView 또는 ara::core::Span<const ara::core::Byte>로 변환될 수 없는 경우 Arg 호출은 문법적으로 잘못된(“ill-formed”) 것입니다. 마찬가지로 문자열, 바이트 스팬 또는 불리언 타입에 대해 nullptr와 다른 단위 텍스트 unit를 전달하면 오류가 발생합니다 [SWS_LOG_00201].
  • 오류 표현: 콘솔에 core::ErrorCode 인스턴스를 출력할 때 오류 코드는 구현별로 포맷되며 도메인 이름(ErrorCode::Domain().Name())과 정수 오류 번호가 포함되어야 합니다 [SWS_LOG_00124].

이 가이드는 Adaptive Platform 릴리스 R25-11의 log 모듈 사양을 기반으로 합니다.

주제 맵

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

클래스 다이어그램

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

상세 보기

개요에서 항목을 선택하세요.

Logger-Kontext

Logger 클래스

Represents a logger context

CreateLogger 함수 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.

오버로드 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 열거형

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

enum class ClientState : std::int8_t {...};
LogLevel 열거형

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 클래스

Wrapper type for holding a payload argument with its attributes

LogStream 클래스

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

입출력 << 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 함수

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 클래스

A type holding a formatting hint

AutoFloat 함수

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

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

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 함수 2

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

오버로드 Bin 2
constexpr Format Bin () noexcept; SWS_LOG_00215
constexpr Format Bin (std::uint16_t precision) noexcept; SWS_LOG_00216
Dec 함수 2

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

오버로드 Dec 2
constexpr Format Dec () noexcept; SWS_LOG_00211
constexpr Format Dec (std::uint16_t precision) noexcept; SWS_LOG_00212
DecFloat 함수

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

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

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 함수

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

constexpr Format Dflt () noexcept;
EngFloat 함수

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

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

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 함수 2

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

오버로드 Hex 2
constexpr Format Hex () noexcept; SWS_LOG_00209
constexpr Format Hex (std::uint16_t precision) noexcept; SWS_LOG_00210
HexFloat 함수

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

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

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 함수 2

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

오버로드 Oct 2
constexpr Format Oct () noexcept; SWS_LOG_00213
constexpr Format Oct (std::uint16_t precision) noexcept; SWS_LOG_00214
Fmt 열거형

Format specifiers for log message arguments .

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

열거형

열거형 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: b76d16a569dc 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

열거형 ara::log::ClientState은 외부 클라이언트와 DLT 백엔드 간의 현재 연결 상태를 매핑합니다 [SWS_LOG_00098]. 이는 데이터 타입 std::int8_t에 기반하며, 헤더 파일 #include "ara/log/common.h" 또는 포워딩 헤더 #include "ara/log/log_fwd.h"를 통해 포함됩니다 [SWS_LOG_00098].

상태 및 시맨틱

이 열거형은 세 가지 개별 연결 상태를 정의합니다 [SWS_LOG_00098]:

  • kUnknown (-1): DLT 백엔드가 아직 작동 준비되지 않았으며, 이 시점에서는 실제 연결 상태를 확인할 수 없습니다 [SWS_LOG_00098].
  • kNotConnected: 외부 클라이언트가 감지되지 않았습니다 [SWS_LOG_00098].
  • kConnected: 원격 클라이언트가 성공적으로 연결되었습니다 [SWS_LOG_00098].

상호작용 및 동시성

이 열거형은 주로 ara::log::RegisterConnectionStateHandler를 통해 등록되는 함수 콜백 ConnectionStateHandler(std::function<void(ClientState)>(으)로 정의됨)의 전달 매개변수로 사용됩니다 [SWS_LOG_00265]. 이 핸들러는 스레드 안전한 것으로 선언되어 있습니다 [SWS_LOG_00265]. 해석: 등록된 핸들러는 DLT 백엔드가 외부 클라이언트의 상태 변경을 감지하는 즉시 비동기적으로 호출될 것으로 보입니다. 질문 Q-b78ef73772a658a2 (열림)

이 텍스트는 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#811aef25
Content hash
811aef25
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

열거형 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#3380c9a3
Content hash
3380c9a3
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

열거형 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#26a2e195
Content hash
26a2e195
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

타입 별칭

타입 별칭 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 61bab347af38 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

타입 별칭 ConnectionStateHandler은 log 모듈에서 연결 상태를 모니터링하기 위한 콜백 함수의 시그니처를 지정합니다 [SWS_LOG_00265]. 이는 네임스페이스 ara::log에 선언되어 있으며 헤더 파일 ara/log/logger.h의 포함을 필요로 합니다 [SWS_LOG_00265]. 함수 래퍼 std::function<void(ClientState)>로서 콜백 루틴은 발생한 연결 상태를 ClientState 타입의 파라미터를 통해 전달받으며 반환값을 제공하지 않습니다 [SWS_LOG_00265].

사용은 등록 함수 RegisterConnectionStateHandler을 통해 이루어집니다 [SWS_LOG_00205]. 핸들러의 상호 작용 및 수명 주기에는 다음과 같은 규정이 적용됩니다:

  • 호출 시점: 등록된 콜백 함수는 클라이언트의 연결 상태가 변경될 때마다 호출됩니다 [SWS_LOG_00205].
  • 독점성: 어느 시점에든 오직 하나의 핸들러만 활성 상태로 등록될 수 있습니다 [SWS_LOG_00205]. 이전에 이미 콜백이 등록된 경우, 새로 전달된 함수가 이를 완전히 대체하므로 이후에는 새 핸들러만 배타적으로 호출됩니다 [SWS_LOG_00205].
  • 예외 안전성: 등록 함수 RegisterConnectionStateHandler은 noexcept(으)로 명시되어 있어 함수 콜백 전달이 예외 안전하게 수행됩니다 [SWS_LOG_00205].

동시성과 관련하여 이 사양 요소는 스레드 안전한 것으로 표시되어 있습니다 [SWS_LOG_00265]. 해석: 로깅 인프라에 의해 상태 변경이 잠재적으로 비동기적으로 신호될 수 있으므로, 핸들러에 제공된 애플리케이션 로직은 통신 컨텍스트를 방해하지 않도록 재진입 가능하도록 설계되어야 하며 블로킹 연산을 수행해서는 안 될 것으로 보입니다. 질문 Q-ca507d992cc31284 (열림)

이 사용 지침은 AUTOSAR 사양 R25-11을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#865f386a
Content hash
865f386a
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

자유 함수 문서

함수 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#4dbe420f
Content hash
4dbe420f
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

함수 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#ce2b615a
Content hash
ce2b615a
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

함수 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#67982c32
Content hash
67982c32
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

함수 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#10b813e2
Content hash
10b813e2
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

함수 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#eff6b022
Content hash
eff6b022
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: d61f94356eb8 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

네임스페이스 ara::log의 CreateLogger 함수는 로깅 프레임워크 내에서 각각의 컨텍스트를 관리하는 Logger 객체를 생성하고 등록하는 역할을 합니다 [SWS_LOG_00021]. 호출 시 컨텍스트 식별자 ctxId, 텍스트 설명 ctxDescription 및 기본 로그 레벨 ctxDefLogLevel이 전달됩니다 [SWS_LOG_00021]. 모델을 사용할 수 없는 경우, 프레임워크는 출력을 싱크(sink)로서 콘솔로 기본 리디렉션합니다 [SWS_LOG_00021].

이 함수는 내부적으로 관리되는 인스턴스에 대한 참조 Logger &를 반환합니다. 이때 소유권(ownership)은 로깅 프레임워크에 완전히 유지됩니다 [SWS_LOG_00021].

동시성 및 실행 안전성

해당 인터페이스는 noexcept(으)로 선언되어 있으며, 예외 안전(exception safe) 및 스레드 안전(thread-safe) 모두로 명시되어 있습니다 [SWS_LOG_00021]. 따라서 여러 동시 스레드에서 안전하게 호출될 수 있습니다.

상호 작용 및 대안

다양한 구성 방식을 위해 관련 인터페이스가 제공됩니다:

  • 대체 오버로드는 ctxId 및 ctxDescription만을 통한 인스턴스화를 허용하며 [SWS_LOG_00263], 이때 기본 로그 레벨로 Warning이 암시적으로 사용됩니다 [SWS_LOG_00021].
  • 또한 Logger은 매니페스트의 ara::core::InstanceSpecifier을 통해 모델 기반으로 파생될 수 있습니다 [SWS_LOG_00256]. 이때 플랫폼은 InstanceSpecifierMappingIntegrityViolation 또는 PortInterfaceMappingViolation와 같은 오류를 검사합니다 [SWS_LOG_00256].

이 텍스트는 AUTOSAR R25-11 사양 문서를 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#5c91af9d
Content hash
5c91af9d
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 27922916bcc4 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

동기 함수 CreateLogger은 매니페스트의 모델 데이터를 기반으로 내부적으로 관리되는 Logger 객체에 대한 참조를 생성하거나 반환합니다 [SWS_LOG_00256]. 호출 파라미터로는 실행 중인 프로세스의 컨텍스트에서 원하는 모델 요소를 식별하는 ara::core::InstanceSpecifier에 대한 참조가 사용됩니다 [SWS_LOG_00256].

이 함수는 noexcept(으)로 선언되어 있고, 예외 안전(exception safe)한 것으로 간주되며, 스레드 안전으로 명시되어 있어 재진입 및 동시 호출이 가능합니다 [SWS_LOG_00256]. 잘못된 구성이나 유효하지 않은 모델 컨텍스트에 대해 사양은 여러 위반(Violations)을 정의합니다 [SWS_LOG_00256]:

  • InstanceSpecifierMappingIntegrityViolation: InstanceSpecifier이 Executable의 컨텍스트에서 확인(resolve)될 수 없거나 PortPrototype 이외의 요소를 가리킬 때 발생합니다 [SWS_LOG_00256].
  • PortInterfaceMappingViolation: 매핑 타입이 포트 인터페이스의 예상 타입과 일치하지 않는 경우 트리거됩니다 [SWS_LOG_00256].
  • ProcessMappingViolation: 일치하는 InstanceRef이 존재하지만 모델링된 프로세스가 런타임 프로세스와 일치하지 않을 때 적용됩니다 [SWS_LOG_00256].
  • InstanceSpecifierAlreadyInUseViolation: 프레임워크의 생성자가 해당 프로세스에서 이미 사용 중인 식별자로 호출되었음을 알립니다 [SWS_LOG_00256].

컨텍스트 ID 및 설명 문자열을 통해 프로그래밍 방식으로 로거를 초기화하고 모델 부재 시 기본적으로 콘솔을 싱크로 사용하는 오버로드 [SWS_LOG_00021] 및 [SWS_LOG_00263]과 비교하여, 여기서는 구성이 완전히 매니페스트 기반으로 이루어집니다. 모든 변형에서 인스턴스의 소유권은 로깅 프레임워크 내에 유지됩니다 [SWS_LOG_00263].

이 텍스트는 AI에 의해 큐레이션되었으며 AUTOSAR 사양의 요구사항을 기반으로 합니다.

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#739059bd
Content hash
739059bd
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: e7acfbf050b9 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

네임스페이스 ara::log([SWS_LOG_00263])의 CreateLogger 함수는 AUTOSAR Adaptive의 로깅 프레임워크 내에서 컨텍스트에 바인딩된 Logger 객체를 생성하고 등록하는 역할을 합니다.

사용

헤더 파일 ara/log/logger.h을 통해 이 함수는 컨텍스트 식별자 ctxId 및 상세한 설명 ctxDescription을 각각 ara::core::StringView 타입으로 전달받습니다 [SWS_LOG_00263]. 반환값으로 이 호출은 생성된 Logger 객체의 내부적으로 관리되는 인스턴스에 대한 참조 Logger &를 반환합니다 [SWS_LOG_00263]. 이 인스턴스에 대한 소유권(Ownership)은 로깅 프레임워크에 영구적으로 유지되며 호출자에게 이전되지 않습니다 [SWS_LOG_00263]. 시스템에서 모델을 사용할 수 없는 경우, 콘솔이 모든 로깅 출력에 대한 싱크(Sink) 역할을 기본적으로 수행합니다 [SWS_LOG_00263].

오류 처리 및 동시성

해당 함수는 noexcept(으)로 명시되어 있고 예외 안전(exception safe)한 것으로 지정되어 있으므로, 호출에 대해 정의된 특정 오류 코드가 없으며 C++ 예외도 발생하지 않습니다 [SWS_LOG_00263]. 동시성과 관련하여 CreateLogger은(는) 스레드 안전(thread-safe)하므로, 외부 동기화 없이 여러 스레드에서 동시에 함수를 호출할 수 있습니다 [SWS_LOG_00263].

상호 작용

로깅 프레임워크는 밀접하게 관련된 오버로드를 제공합니다: 이 2개 파라미터 시그니처 외에도 한 오버로드는 ctxDefLogLevel([SWS_LOG_00021])을 통해 기본 로그 레벨의 추가 구성을 허용합니다. 또 다른 시그니처는 매니페스트에서 직접 ara::core::InstanceSpecifier을 통해 Logger 객체를 생성할 수 있도록 지원합니다([SWS_LOG_00256]).

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#ce394af1
Content hash
ce394af1
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

함수 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#c56e883c
Content hash
c56e883c
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

함수 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#7a3306c8
Content hash
7a3306c8
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

함수 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#a6b77452
Content hash
a6b77452
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

함수 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#1dd83f5d
Content hash
1dd83f5d
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

함수 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#d3ebac2c
Content hash
d3ebac2c
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

함수 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#cf8231c3
Content hash
cf8231c3
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 728634d333ca 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

헤더 파일 ara/log/logger.h의 함수 ara::log::EngFloatMax()은(는) Format 타입의 인스턴스를 동기적으로 생성합니다 [SWS_LOG_00220]. 반환된 객체에는 공학 표기법으로 부동소수점을 출력하기 위한 서식 지정 힌트 Fmt::kEngFloat 및 완전한 왕복 변환(\"full round-trip safety\")에 충분한 정밀도가 포함되어 있습니다 [SWS_LOG_00220]. 이 함수는 매개변수를 받지 않습니다.

오류 처리

이 함수에는 지정자 noexcept이(가) 지정되어 있으며 예외 안전(exception safe)으로 정의되어 있습니다 [SWS_LOG_00220]. 특정 오류 코드는 존재하지 않으며 예외가 발생하지도 않고 진단 또는 오류 보고 인스턴스로 오류가 전송되지도 않습니다. 정상 작동 시 호출이 실패하지 않습니다.

동시성 및 제약사항

사양에서는 이 함수를 스레드 안전(thread-safe)으로 규정합니다 [SWS_LOG_00220]. constexpr(으)로 표시되어 있으므로 컴파일 시간에 호출이 평가될 수 있습니다. 해석: 사양에 사전 조건이 정의되어 있지 않고 함수가 무상태이므로 호출 컨텍스트에 대한 제한이나 로깅 인프라의 사전 초기화에 대한 종속성이 모두 없을 것으로 추정됩니다. 질문 Q-90c67bfad5b19641 (열림)

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 AI에 의해 생성되었습니다.

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#6726583e
Content hash
6726583e
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

함수 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#a9dd6a1c
Content hash
a9dd6a1c
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

함수 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#d25a5b17
Content hash
d25a5b17
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 2ffe78f5109c 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

도우미 함수 HexFloat은(는) [SWS_LOG_00221]에 따라 16진수 형식으로 출력하기 위한 부동소수점 수용 서식화 객체를 생성하는 데 사용됩니다. 이 함수는 서식화 힌트 Fmt::kHexFloat 및 지정된 정밀도가 설정된 Format 타입의 객체를 인스턴스화합니다.

사용법 및 매개변수

이 함수는 헤더 #include "ara/log/logger.h"을(를) 통해 네임스페이스 ara::log에서 제공됩니다 [SWS_LOG_00221]:

  • 매개변수: 입력 매개변수로 std::uint16_t 타입의 precision이(가) 전달되며, 이는 원하는 출력 정밀도를 정의합니다 [SWS_LOG_00221].
  • 반환값: Fmt::kHexFloat 접두사가 설정되어 초기화된 Format 객체 [SWS_LOG_00221].
  • 실행: constexpr(으)로 지정됨에 따라 서식화 힌트의 생성은 런타임에 동기식으로 또는 이미 컴파일 타임에 수행될 수 있습니다 [SWS_LOG_00221].

오류 처리 및 동시성

해당 시그니처는 noexcept(으)로 선언되어 있으며 완전한 예외 안전성(exception safe)을 갖춘 것으로 간주됩니다 [SWS_LOG_00221]. 오류 코드나 특정 오류 메시지는 생성되지 않습니다. 이 함수는 스레드 안전(thread-safe)한 것으로 명시되어 있으며 별도의 동기화 오버헤드 없이 임의의 컨텍스트에서 병렬로 호출될 수 있습니다 [SWS_LOG_00221].

이 사용 지침은 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#89db0211
Content hash
89db0211
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 98728cb410cd 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

네임스페이스 ara::log의 함수 HexFloatMax은(는) 부동소수점 값의 형식화된 출력을 위한 Format 인스턴스를 생성하는 데 사용됩니다 [SWS_LOG_00222]. 헤더 파일 #include "ara/log/logger.h"을(를) 통해 제공되며 호출 매개변수를 받지 않습니다 [SWS_LOG_00222]. 동기 반환값으로 서식 지정 힌트 Fmt::kHexFloat이(가) 지정되고 완전한 라운드트립 안전성을 보장하는 정밀도를 갖춘 Format 인스턴스가 반환됩니다 [SWS_LOG_00222].

시그니처는 constexpr 및 noexcept(으)로 선언되어 있습니다 [SWS_LOG_00222]. 이를 통해 컴파일 시간에 평가할 수 있으며 실행 시 예외가 발생하지 않음을 보장합니다. 형식 객체의 생성이 항상 오류 없이 발생하므로 이 호출에 대해 특별한 오류 상태, 오류 코드 또는 오류 처리 메커니즘은 지정되지 않았습니다.

호출 컨텍스트 및 동시성과 관련하여, 이 함수는 예외 안전(exception safe) 및 스레드 안전(thread-safe)으로 지정되어 있습니다 [SWS_LOG_00222]. 순차적 호출 제한을 받지 않으며 추가 동기화 없이 임의의 스레드에서 안전하게 동시 호출할 수 있습니다.

이 사용 지침은 R25-11용 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

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#33a1f5e4
Content hash
33a1f5e4
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 385124e3fb4e 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

함수 ara::log::Oct()은(는) 8진수 시스템의 로깅 출력을 위한 서식 지정 객체를 생성하는 도우미 함수 역할을 합니다 [SWS_LOG_00213]. 매개변수를 받지 않으며, 서식 지정 지침 Fmt::kOct 및 기본 정밀도로 구성된 Format 타입의 객체를 동기식으로 반환합니다 [SWS_LOG_00213]. 이 함수는 constexpr(으)로 선언되어 있으므로 컴파일 타임에 이미 인스턴스화가 수행될 수 있습니다. 해석: 반환된 Format 객체는 주로 로그 스트림에서 정수의 서식을 제어하기 위해 제공되는 것으로 보입니다. 질문 Q-3f4fe5ac42de16cb (열림)

오류 처리

이 함수는 예외 안전성(exception safe)을 보장하며 명시적으로 noexcept(으)로 선언되어 있습니다 [SWS_LOG_00213]. 런타임 오류 발생이나 예외 발생은 배제됩니다. 특정 오류 코드는 존재하지 않으며, DET 또는 DEM에 대한 알림은 전송되지 않습니다.

동시성 및 제약사항

Oct()의 호출은 제한 없이 스레드 안전(thread-safe)합니다 [SWS_LOG_00213]. 공유 상태를 수정하지 않으므로 재진입성이나 호출 컨텍스트에 대한 제한이 없으며 여러 스레드에서 병렬로 호출할 수 있습니다.

상호 작용

이 함수는 ara::log 네임스페이스에 정의되어 있으며 헤더 파일 #include "ara/log/logger.h"을 통해 제공됩니다 [SWS_LOG_00213]. 이 매개변수 없는 변형 외에도 다른 자릿수 정밀도를 지정할 수 있는 오버로드 Oct(std::uint16_t precision)이(가) 존재합니다 [SWS_LOG_00214].

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

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#28c2b6ef
Content hash
28c2b6ef
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: acd78a533e1e 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

헬퍼 함수 ara::log::Oct은(는) ara::log 네임스페이스 내의 헤더 파일 #include "ara/log/logger.h"을(를) 통해 제공됩니다[SWS_LOG_00214]. 이는 서식 지정 힌트 Fmt::kOct 및 지정된 정밀도를 갖는 Format 유형의 인스턴스를 생성하는 데 사용됩니다[SWS_LOG_00214]. 입력 매개변수로 함수는 적용할 정밀도를 정의하는 부호 없는 16비트 정수 값 precision을(를) 받습니다[SWS_LOG_00214]. 함수는 동기식으로 작동하며 생성된 Format 인스턴스를 즉시 반환합니다[SWS_LOG_00214].

오류 처리 및 동시성

이 함수는 noexcept(으)로 선언되어 있으며 명시적으로 예외 안전(exception safe)으로 지정되어 있습니다[SWS_LOG_00214]. 특정 오류 코드나 오류 발생 시 DET 또는 DEM을 통한 알림은 존재하지 않습니다. 호출 컨텍스트 및 동시성과 관련하여 이 함수는 스레드 안전(thread-safe)으로 분류됩니다[SWS_LOG_00214]. 또한 constexpr(으)로 정의되어 있으므로 서식 지정 지시문의 생성이 이미 컴파일 타임에 수행될 수 있습니다[SWS_LOG_00214].

상호 작용

log 모듈 내에서 이 함수는 관련 오버로드 Oct()을(를) 보완합니다[SWS_LOG_00213]. 매개변수가 없는 변형이 기본 정밀도(default precision)를 갖는 Format 인스턴스를 생성하는 반면[SWS_LOG_00213], 본 함수는 8진수 서식 지정을 위한 사용자 정의 정밀도의 명시적 구성을 허용합니다[SWS_LOG_00214].

이 텍스트는 AUTOSAR 사양을 기반으로 AI에 의해 생성되었습니다.

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#481153ed
Content hash
481153ed
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

함수 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 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 240d7b239d7a 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

ara::log 네임스페이스의 RegisterConnectionStateHandler 함수는 연결 상태가 변경될 때마다 호출되는 애플리케이션 측 콜백 함수를 등록하는 데 사용됩니다 [SWS_LOG_00205]. 이 함수는 헤더 ara/log/logger.h에 선언되어 있습니다 [SWS_LOG_00205]. 매개변수로는 std::function<void(ClientState)>의 타입 별칭으로 명시된 ConnectionStateHandler 타입의 함수 객체 callback가 전달됩니다 [SWS_LOG_00205], [SWS_LOG_00265]. 반환값은 없습니다(void) [SWS_LOG_00205].

수명 주기 및 순서와 관련하여, 어느 시점에서든 단 하나의 상태 핸들러만 설치될 수 있도록 규정되어 있습니다 [SWS_LOG_00205]. 이전에 콜백 함수가 이미 등록된 경우 새로 호출할 때마다 기존 인스턴스를 완전히 덮어쓰므로 해당 시점부터는 가장 최근에 전달된 핸들러만 실행됩니다 [SWS_LOG_00205].

이 함수는 noexcept로 선언되어 있으며 예외 안전(“exception safe”)으로 명시되어 있습니다 [SWS_LOG_00205]. 특정 오류 코드, 오류 값 또는 오류/진단 모니터에 대한 알림은 명세에 정의되어 있지 않습니다 [SWS_LOG_00205].

동시성과 관련하여 RegisterConnectionStateHandler은(는) 명시적으로 스레드 안전하지 않음(“not thread-safe”)으로 분류됩니다 [SWS_LOG_00205]. 따라서 등록은 보호되지 않은 상태로 여러 스레드에서 동시에 호출되어서는 안 되며, 이상적으로는 초기화 단계 중에 수행되어야 합니다. 이와 대조적으로 타입 별칭 ConnectionStateHandler은(는) 스레드 안전한 것으로 명시되어 있습니다 [SWS_LOG_00265]. 해석: 이로부터 등록된 콜백은 상태 변경 시 내부 로깅 런타임 환경에 의해 동시 컨텍스트에서 잠재적으로 호출될 수 있음을 의미할 것입니다. 질문 Q-59eae7980ba48666 (열림)

이 텍스트는 AI에 의해 생성되었으며 AUTOSAR 릴리스 R25-11의 명세를 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 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#15792413
Content hash
15792413
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

함수 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#58964e44
Content hash
58964e44
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

함수 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#19f658d6
Content hash
19f658d6
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

함수 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#0046b5cc
Content hash
0046b5cc
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

함수 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#dbe60ea3
Content hash
dbe60ea3
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

함수 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#3ee5f361
Content hash
3ee5f361
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