log.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <ctype.h>
#include <math.h>
#include <assert.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdarg.h>
#include <dirent.h>
#include "common.h"

Include dependency graph for log.c:

Go to the source code of this file.

Functions

void LogPrint (const char *format,...)
 print a formatted line in the log file, open it if neccessary

Variables

FILE * logFile = NULL


Function Documentation

void LogPrint ( const char *  format,
  ... 
)

print a formatted line in the log file, open it if neccessary

Parameters:
format,... the same format and arguments as for *printf

Definition at line 44 of file log.c.

References currentTime, HWConfigType::fieldIdent, HWConfig, logFile, logInfo, HWConfigType::serialNumber, StrTimeNS(), and Titan2TimeType::usecond.

Referenced by CheckContinuity(), and CheckDiffConfig().

Here is the call graph for this function:


Variable Documentation

FILE* logFile = NULL

Definition at line 40 of file log.c.

Referenced by LogPrint().


Generated on Tue Jul 22 23:11:57 2008 for Titan2Reader by  doxygen 1.5.6