Version: 8.3.0
DSC_interface.cxx File Reference
#include <string>
#include "DSC_interface.hxx"
#include <sys/time.h>
#include <fstream>
#include <sys/stat.h>
#include <sstream>
#include <stdlib.h>
Include dependency graph for DSC_interface.cxx:

Functions

static void initTrace (const std::string &containerName)
 Initialize the trace file. More...
 

Variables

static int traceType =-1
 
static int traceLevel =-1
 
static std::ofstream traceFile
 
static std::ostream * out
 

Function Documentation

static void initTrace ( const std::string &  containerName)
static

Initialize the trace file.

The trace file depends on an environment variable (DSC_TRACE). If this variable is equal to 1, the trace file is a file with the name : <TMPDIR>/<container name>="">.tce. In all other cases, the trace file is stderr The environment variable DSC_TRACELEVEL can be used to suppress the trace (value 0)

Parameters
containerNamethe name of the container where the trace is built

References out, and traceFile.

Referenced by Engines_DSC_interface::writeEvent().

Variable Documentation

int traceLevel =-1
static
int traceType =-1
static