Diag-Client-Lib
|
Class to create a singleton logger for diag-client. More...
#include <logger.h>
Public Types | |
using | Logger = utility::logger::Logger |
Type alias of logger. More... | |
Public Member Functions | |
auto | GetLogger () noexcept -> Logger & |
Get the logger instance. More... | |
Static Public Member Functions | |
static auto | GetDiagClientLogger () noexcept -> DiagClientLogger & |
Get the diag client logger instance. More... | |
Private Member Functions | |
DiagClientLogger ()=default | |
Construct an instance of DiagClientLogger. More... | |
Private Attributes | |
Logger | logger_ {"dcap"} |
Store the logger instance with context id. More... | |
|
privatedefault |
Construct an instance of DiagClientLogger.
|
inlinestaticnoexcept |
Get the diag client logger instance.
Definition at line 32 of file logger.h.
Referenced by diag::client::conversation::DmConversation::ConnectToDiagServer(), diag::client::DiagClient::DiagClientImpl::DeInitialize(), diag::client::conversation::DmConversation::DisconnectFromDiagServer(), diag::client::dcm::GetConversationManager(), diag::client::conversation_manager::ConversationManager::GetDiagnosticClientConversation(), diag::client::DiagClient::DiagClientImpl::GetDiagnosticClientConversation(), diag::client::conversation::DmConversation::IndicateMessage(), diag::client::DiagClient::DiagClientImpl::Initialize(), diag::client::dcm::DCMClient::Initialize(), diag::client::dcm::DCMClient::Run(), diag::client::conversation::DmConversation::SendDiagnosticRequest(), diag::client::DiagClient::DiagClientImpl::SendVehicleIdentificationRequest(), diag::client::conversation::VdConversation::SendVehicleIdentificationRequest(), diag::client::conversation_manager::ConversationManager::Shutdown(), diag::client::conversation::DmConversation::Shutdown(), diag::client::conversation::VdConversation::Shutdown(), diag::client::dcm::DCMClient::Shutdown(), diag::client::conversation::DmConversation::Startup(), and diag::client::conversation::VdConversation::Startup().
|
inlinenoexcept |
Get the logger instance.
Definition at line 42 of file logger.h.
References logger_.
|
private |
Store the logger instance with context id.
Definition at line 53 of file logger.h.
Referenced by GetLogger().