Module: clientLoggerService

Description

Service that manages subscriptions to the client logger ros-topic

Function: logMessage

Public method to log a message with a specifig log type

logMessage()
Arguments
  • logMessage() – is a string that includes the message

  • logMessage() – is a LOG_TYPE that represents the location where the message is displayed

Function: subscribeRosTopic

Private method subscribing to the log ros-topic

subscribeRosTopic()
Arguments
  • subscribeRosTopic() – The callback to be called when joint topic messages are received

Function: unsubscribeRosTopic

Private method unsubscribing to the log ros-topic

unsubscribeRosTopic()

Function: resetLoggedMessages

Public method that has to be called if log history is collected

resetLoggedMessages()

Function: getLogHistory

Public getter that returns all previously received log messages

getLogHistory()

Member: level:

Member: message:

Member: duration:

Member: INFO:

Member: ADVERTS: