#ifndef SVC_TEXT_LOGGER_IMPL_HPP
#define SVC_TEXT_LOGGER_IMPL_HPP

#include <Svc/PassiveConsoleTextLogger/PassiveTextLoggerComponentAc.hpp>

namespace Svc {

	class ConsoleTextLoggerImpl : public PassiveTextLoggerComponentBase  {

	public:

		// Only called by derived class
		ConsoleTextLoggerImpl(const char* compName);
		void init(NATIVE_INT_TYPE instanceId = 0);
		~ConsoleTextLoggerImpl();

	private:

		// downcalls for input ports
		void TextLogger_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::TextLogString &text);
	};

}

#endif
