Struct ILogger#

Inheritance Relationships#

Derived Types#

Struct Documentation#

struct ILogger#

Interface to enable logging information from sdv platform abstraction.

Subclassed by CLogger, CLoggerControl

Public Functions

virtual void Log(ELogSeverity eSeverity, const sdv::u8string &ssSrcFile, uint32_t iSrcLine, process::TProcessID tProcessID, const sdv::u8string &ssObjectName, const sdv::u8string &ssMessage) = 0#

Log a message to the SDV log.

Parameters:
  • eSeverity[in] Severity level of the log message which will be logged, e.g. info, warning, error etc.

  • ssSrcFile[in] The source file that caused the log entry.

  • iSrcLine[in] The line number in the source file that caused the log entry.

  • tProcessID[in] Process ID of the process reporting this log entry.

  • ssObjectName[in] Name of the object if the log entry is supplied by a component.

  • ssMessage[in] The log message that will be logged.

void Log (in ELogSeverity eSeverity, in u8string ssSrcFile, in uint32 iSrcLine, in process::TProcessID tProcessID, in u8string ssObjectName, in u8string ssMessage)

Log a message to the SDV log.

Parameters:
  • eSeverity[in] Severity level of the log message which will be logged, e.g. info, warning, error etc.

  • ssSrcFile[in] The source file that caused the log entry.

  • iSrcLine[in] The line number in the source file that caused the log entry.

  • tProcessID[in] Process ID of the process reporting this log entry.

  • ssObjectName[in] Name of the object if the log entry is supplied by a component.

  • ssMessage[in] The log message that will be logged.

Public Static Attributes

static ::sdv::interface_id _id = 0x4479E85567789789#

Interface ID.