ODIN
Public Member Functions | Public Attributes | List of all members

#include <tjlog.h>

Public Member Functions

STD_string str (unsigned int maxwidth=0, bool include_comp=true) const
 

Public Attributes

logPriority level
 
STD_string comp
 
STD_string obj
 
STD_string func
 
STD_string txt
 

Detailed Description

Message token which is passed to the trace function

Definition at line 57 of file tjlog.h.

Member Function Documentation

◆ str()

STD_string LogMessage::str ( unsigned int  maxwidth = 0,
bool  include_comp = true 
) const

Produce single string from message with at most 'maxwidth' characters including the component label if 'include_comp' is 'true'. If 'maxwidth' is zero, the length is unlimited.

Member Data Documentation

◆ comp

STD_string LogMessage::comp

Component, i.e. subsystem, from which message originates

Definition at line 67 of file tjlog.h.

◆ func

STD_string LogMessage::func

Function (name) from which message originates

Definition at line 77 of file tjlog.h.

◆ level

logPriority LogMessage::level

The priority level of the message

Definition at line 62 of file tjlog.h.

◆ obj

STD_string LogMessage::obj

Object (label) from which message originates

Definition at line 72 of file tjlog.h.

◆ txt

STD_string LogMessage::txt

Message text

Definition at line 82 of file tjlog.h.


The documentation for this struct was generated from the following file: