PGROUTING  2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test1.c File Reference
#include "../src/pgr_logger.h"
#include <time.h>
Include dependency graph for test1.c:

Go to the source code of this file.

Macros

#define PGR_LOGGER_FILE   "test-log.log"
 
#define PGR_LOGGER_LOC
 
#define PGR_LOGGER_ON
 

Functions

int main ()
 

Macro Definition Documentation

#define PGR_LOGGER_FILE   "test-log.log"

Definition at line 26 of file test1.c.

#define PGR_LOGGER_LOC

Definition at line 25 of file test1.c.

#define PGR_LOGGER_ON

Definition at line 24 of file test1.c.

Function Documentation

int main ( void  )

Definition at line 32 of file test1.c.

References PGR_LOG, and PGR_LOGF.

32  {
33  PGR_LOG("message 1");
34  PGR_LOGF("%s at epoch %d\n", "message 2", (int)time(NULL));
35  PGR_LOG("message 3");
36 
37  return 0;
38 }
#define PGR_LOG(str)
Definition: pgr_logger.h:72
#define PGR_LOGF(format,...)
Definition: pgr_logger.h:69