GATE
Loading...
Searching...
No Matches
logging.h File Reference

Logging and log storage utilities. More...

#include "gate/io/gate_io_api.h"
#include "gate/gatetypes.h"
#include "gate/processes.h"
#include "gate/threading.h"
#include "gate/strings.h"
#include "gate/synchronization.h"

Macros

#define GATE_LOG_TYPE_DEBUG   1
 
#define GATE_LOG_TYPE_INFO   100
 
#define GATE_LOG_TYPE_STATUS   200
 
#define GATE_LOG_TYPE_WARN   300
 
#define GATE_LOG_TYPE_ERROR   400
 
#define GATE_LOG_TYPE_FATAL   500
 

Detailed Description

Logging and log storage utilities.

Macro Definition Documentation

◆ GATE_LOG_TYPE_DEBUG

#define GATE_LOG_TYPE_DEBUG   1

development/debugging logs

◆ GATE_LOG_TYPE_INFO

#define GATE_LOG_TYPE_INFO   100

operation progress info (logs steps in an operation)

◆ GATE_LOG_TYPE_STATUS

#define GATE_LOG_TYPE_STATUS   200

operation status info (logs the final state in an operation)

◆ GATE_LOG_TYPE_WARN

#define GATE_LOG_TYPE_WARN   300

logs a warning or non-interrupting error during an operation

◆ GATE_LOG_TYPE_ERROR

#define GATE_LOG_TYPE_ERROR   400

an error during an operation that interrupts current processing

◆ GATE_LOG_TYPE_FATAL

#define GATE_LOG_TYPE_FATAL   500

a critical error that makes further processing impossible