libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
log.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOG_DOMAIN   NULL
 
#define pynq_info(...)    pynq_log(LOG_LEVEL_INFO, LOG_DOMAIN, __FUNCTION__, __LINE__, __VA_ARGS__)
 
#define pynq_warning(...)    pynq_log(LOG_LEVEL_WARNING, LOG_DOMAIN, __FUNCTION__, __LINE__, __VA_ARGS__)
 
#define pynq_error(...)
 

Typedefs

typedef enum LogLevel LogLevel
 

Enumerations

enum  LogLevel { LOG_LEVEL_INFO , LOG_LEVEL_WARNING , LOG_LEVEL_ERROR , NUM_LOG_LEVELS }
 

Functions

void pynq_log (const LogLevel level, char const *domain, char const *location, unsigned int lineno, char const *fmt,...)
 

Macro Definition Documentation

◆ LOG_DOMAIN

#define LOG_DOMAIN   NULL

Definition at line 25 of file log.h.