lsst.log g9d27549199+532b1e28dc
|
LSST DM logging module built on log4cxx. More...
#include <mutex>
#include <pthread.h>
#include <stdexcept>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <log4cxx/basicconfigurator.h>
#include <log4cxx/consoleappender.h>
#include <log4cxx/helpers/bytearrayinputstream.h>
#include <log4cxx/patternlayout.h>
#include <log4cxx/propertyconfigurator.h>
#include <log4cxx/xml/domconfigurator.h>
#include "lsst/log/Log.h"
#include "lwpID.h"
Macros | |
#define | MAX_LOG_MSG_LEN 1024 |
Functions | |
unsigned | lsst::log::lwpID () |
LSST DM logging module built on log4cxx.
unsigned lsst::log::lwpID | ( | ) |
Function which returns LWP ID on platforms which support it.
On all other platforms a small incremental integer number (counting number of threads) is returned. This function can be used to produce more human-friendly thread ID for logging instead of regular t format.