class jevois::Log< Level >
Users would typically not use this class directly but instead invoke one of the LDEBUG(msg), LINFO(msg), etc macros. Note that by default logging is asynchronous, i.e., when issuing a log message it is assembled and then pushed into a queue, and another thread then pops it back from the queue and displays it. Define JEVOIS_USE_SYNC_LOG at compile time to have the mesage displayed immediately but beware that this can break USB strict timing requirements.
Definition at line 54 of file Log.H.
| ||Log (char const *fullFileName, char const *functionName, std::string *outstr=nullptr)|
| ||Construct a new Log, adding a prefix to the log stream. More...|
| ||~Log ()|
| ||Close the Log, outputting the aggregated message. More...|
|template<class T > |
|Log< Level > & ||operator<< (T const &out_item)|
| ||Overloaded stream input operator for any type that has operator<< defined for ostream. More...|
|Log< Level > & ||operator<< (uint8_t const &out_item)|
| ||Overload of operator<< for uint8 (displays it as an int rather than char) More...|
|Log< Level > & ||operator<< (int8_t const &out_item)|
| ||Overload of operator<< for int8 (displays it as an int rather than char) More...|