OpenVAS Manager  7.0.3~git
logf.h File Reference

A printf like macro for logging communication. More...

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <glib.h>
Include dependency graph for logf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOG   0
 Logging flag. More...
 
#define LOG_FILE   OPENVAS_LOG_DIR "/openvasmd.comm"
 Name of log file. More...
 
#define logf(format, args...)
 Dummy macro, enabled with LOG. More...
 

Detailed Description

A printf like macro for logging communication.

Definition in file logf.h.

Macro Definition Documentation

◆ LOG

#define LOG   0

Logging flag.

All data transfered to and from the client is logged to a file. If 0 then logging is turned off.

Definition at line 46 of file logf.h.

◆ LOG_FILE

#define LOG_FILE   OPENVAS_LOG_DIR "/openvasmd.comm"

Name of log file.

Definition at line 51 of file logf.h.

◆ logf

#define logf (   format,
  args... 
)

Dummy macro, enabled with LOG.

Definition at line 81 of file logf.h.