Functions | Variables
journaller.cpp File Reference
#include "journalstackwalker.h"
#include "journaller.h"
#include "journalthreader.h"
#include "journalfile.h"
#include <map>
#include <fstream>
#include <xstypes/xstime.h>
#include <xstypes/pstdint.h>
#include <xstypes/xsthread.h>
#include <xstypes/xstimestamp.h>
#include <xstypes/xstimeinfo.h>
#include <memory>
Include dependency graph for journaller.cpp:

Go to the source code of this file.

Functions

void jlTerminate (Journaller **gj)
 Cleans up any remaining stuff. More...
 
template<>
std::ostream & operator<< (std::ostream &os, JlHexLogger< char > const &hex)
 
int threadId ()
 

Variables

static const char * gLogLevelString []
 A list of strings representing the different log levels, use JournalLogLevel to index. More...
 

Function Documentation

◆ jlTerminate()

void jlTerminate ( Journaller **  gj)

Cleans up any remaining stuff.

The function assumes that no new log lines will be created anymore

Parameters
gjOptional pointer to Journaller pointer to be cleaned up, usually &gJournal should be provided. The pointer that gj points to will be set to nullptr.
Note
JLINSTALLQTDEBUGHANDLER(0) is not done as it would create a dependency on Qt so you need to call that yourself before calling jlTerminate

Definition at line 505 of file journaller.cpp.

◆ operator<<()

template<>
std::ostream& operator<< ( std::ostream &  os,
JlHexLogger< char > const &  hex 
)

Definition at line 388 of file journaller.cpp.

◆ threadId()

int threadId ( )
inline

Definition at line 86 of file journaller.cpp.

Variable Documentation

◆ gLogLevelString

const char* gLogLevelString[]
static
Initial value:
=
{
"[TRACE] ",
"[DEBUG] ",
"[ALERT] ",
"[ERROR] ",
"[FATAL] ",
"[WRITE] "
}

A list of strings representing the different log levels, use JournalLogLevel to index.

Definition at line 178 of file journaller.cpp.



xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21