Class CLoggerControl#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Types#

Class Documentation#

class CLoggerControl : public sdv::IInterfaceAccess, public sdv::core::ILogger#

Logger control class.

Public Functions

CLoggerControl() = default#

Default constructor.

~CLoggerControl()#

Destructor.

virtual void Log(sdv::core::ELogSeverity eSeverity, const sdv::u8string &ssSrcFile, uint32_t uiSrcLine, const sdv::process::TProcessID tProcessID, const sdv::u8string &ssObjectName, const sdv::u8string &ssMessage) override#

Log a message to the SDV log. Overload of sdv::core::ILogger::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.

  • uiSrcLine[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 SetLogger(sdv::core::ILogger *pLogger)#

Set the logger to use for logging.

Parameters:

pLogger[in]