48 const char *severityString =
"UNKNOWN";
51 severityString =
"FATAL";
54 severityString =
"WARNING_HI";
57 severityString =
"WARNING_LO";
60 severityString =
"COMMAND";
63 severityString =
"ACTIVITY_HI";
66 severityString =
"ACTIVITY_LO";
69 severityString =
"DIAGNOSTIC";
72 severityString =
"SEVERITY ERROR";
79 severityString, text.
toChar());
109 return this->m_log_file.
set_log_file(fileName, maxSize, maxBackups);
#define PRI_FwEventIdType
PlatformIntType NATIVE_INT_TYPE
#define PRI_FwTimeBaseStoreType
static void log(const char *format,...)
log a formated string with supplied arguments
TimeBase getTimeBase() const
const char * toChar() const
ActiveTextLogger(const char *compName)
Component constructor.
Software diagnostic events.
Less important informational events.
An activity related to commanding.
A less serious but recoverable event.
SizeType length() const
Get length of string.
A serious but recoverable event.
virtual ~ActiveTextLogger()
Component destructor.
Enum representing event severity.
Auto-generated base for ActiveTextLogger component.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
bool set_log_file(const char *fileName, const U32 maxSize, const U32 maxBackups=10)
Set log file and max size.
Important informational events.
bool set_log_file(const char *fileName, const U32 maxSize, const U32 maxBackups=10)
Set log file and max size.
A fatal non-recoverable event.
bool write_to_log(const char *const buf, const U32 size)
Write the passed buf to the log if possible.
void TextQueue_internalInterfaceInvoke(const Fw::InternalInterfaceString &text)
Internal interface base-class function for TextQueue.
const char * toChar() const