DEENESPTFRRUARHIKOZHNL
ADAPTIVE Modul: can Rolle: heuristic Konfidenz: 75%

SNIP_ADAPTIVE_CAN_FIGURE_Figure_16_1

Quelle: PlatformDesign.pdf (Seite 74) • Ziel-Anforderung: SWS_LOG_00257

Wortlaut

Figure 16.1: Overview Log and Trace The ara::log Functional Cluster defines a "Builder"-pattern inspired set of APIs for constructing non-modeled messages and a single member function ara::log::Logger::Log for sending modeled messages. Unlike the non-modeled message APIs, it represents a single-call interface, i.e. a single function call passes all arguments to the Logger instance and performs all necessary actions to generate and send the message. This has the advantage that the runtime cost for a modeled message that is eventually not being output (because the messages log level does not reach the configured log level threshold) can be made very small: after parameter passing and function call, a single if clause checks the log level threshold and immediately returns if the threshold is not reached. This contrasts with the non-modeled message APIs, where multiple function calls are performed for constructing a message object, even if that is then eventually discarded.

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

ara log Logger Log function behavior

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument PlatformDesign.pdf
Dokumentseite Seite 74
Ziel-Modul can (adaptive)
Ziel-Anforderung SWS_LOG_00257
Semantische Rolle heuristic
Automatisierungs-Konfidenz 0.75