lsst.log  21.0.0-5-gcc89fd6+03c0bb3786
Macros | Functions
Log.cc File Reference

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 ()
 

Detailed Description

LSST DM logging module built on log4cxx.

Author
Bill Chickering Contact: chick.nosp@m.erin.nosp@m.g@cs..nosp@m.stan.nosp@m.ford..nosp@m.edu

Function Documentation

◆ lwpID()

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.