libGumball 0.0.1
C23-Based, libGimbal-powered UI Library
Loading...
Searching...
No Matches
gumball_logger.h File Reference

Go to the source code of this file.

Macros

#define GUM_LOG_VERBOSE(...)
#define GUM_LOG_DEBUG(...)
#define GUM_LOG_INFO(...)
#define GUM_LOG_WARN(...)
#define GUM_LOG_ERROR(...)
#define GUM_LOG_PUSH()
#define GUM_LOG_POP(n)
#define GUM_LOG_VERBOSE_PUSH(...)
#define GUM_LOG_DEBUG_PUSH(...)
#define GUM_LOG_INFO_PUSH(...)
#define GUM_LOG_WARN_PUSH(...)
#define GUM_LOG_ERROR_PUSH(...)
#define GUM_LOG_VERBOSE_SCOPE(...)
#define GUM_LOG_DEBUG_SCOPE(...)
#define GUM_LOG_INFO_SCOPE(...)
#define GUM_LOG_WARN_SCOPE(...)
#define GUM_LOG_ERROR_SCOPE(...)

Detailed Description

Gumball logger.

Simple wrappers around GBL_LOG_* for convenience All logs are prefixed with "gumball" as their domain.

Author
2025 Agustín Bellagamba

Macro Definition Documentation

◆ GUM_LOG_VERBOSE

#define GUM_LOG_VERBOSE ( ...)

Logs with GBL_LOG_VERBOSE.

◆ GUM_LOG_DEBUG

#define GUM_LOG_DEBUG ( ...)

Logs with GBL_LOG_DEBUG.

◆ GUM_LOG_INFO

#define GUM_LOG_INFO ( ...)

Logs with GBL_LOG_INFO.

◆ GUM_LOG_WARN

#define GUM_LOG_WARN ( ...)

Logs with GBL_LOG_WARN.

◆ GUM_LOG_ERROR

#define GUM_LOG_ERROR ( ...)

Logs with GBL_LOG_ERROR.

◆ GUM_LOG_VERBOSE_PUSH

#define GUM_LOG_VERBOSE_PUSH ( ...)

Pushes a level to the log stack, then logs with GBL_LOG_VERBOSE.

◆ GUM_LOG_DEBUG_PUSH

#define GUM_LOG_DEBUG_PUSH ( ...)

Pushes a level to the log stack, then logs with GBL_LOG_DEBUG.

◆ GUM_LOG_INFO_PUSH

#define GUM_LOG_INFO_PUSH ( ...)

Pushes a level to the log stack, then logs with GBL_LOG_INFO.

◆ GUM_LOG_WARN_PUSH

#define GUM_LOG_WARN_PUSH ( ...)

Pushes a level to the log stack, then logs with GBL_LOG_WARN.

◆ GUM_LOG_ERROR_PUSH

#define GUM_LOG_ERROR_PUSH ( ...)

Pushes a level to the log stack, then logs with GBL_LOG_ERROR.

◆ GUM_LOG_VERBOSE_SCOPE

#define GUM_LOG_VERBOSE_SCOPE ( ...)

Logs with GBL_LOG_VERBOSE, then pushes a level to the log stack.

Pops level when scope ends

◆ GUM_LOG_DEBUG_SCOPE

#define GUM_LOG_DEBUG_SCOPE ( ...)

Logs with GBL_LOG_DEBUG, then pushes a level to the log stack.

Pops level when scope ends

◆ GUM_LOG_INFO_SCOPE

#define GUM_LOG_INFO_SCOPE ( ...)

Logs with GBL_LOG_INFO, then pushes a level to the log stack.

Pops level when scope ends

◆ GUM_LOG_WARN_SCOPE

#define GUM_LOG_WARN_SCOPE ( ...)

Logs with GBL_LOG_WARN, then pushes a level to the log stack.

Pops level when scope ends

◆ GUM_LOG_ERROR_SCOPE

#define GUM_LOG_ERROR_SCOPE ( ...)

Logs with GBL_LOG_ERROR, then pushes a level to the log stack.

Pops level when scope ends