iceberg-cpp
Loading...
Searching...
No Matches
Macros
short_log_macros.h File Reference

Opt-in bare LOG_* aliases for the ICEBERG_LOG_* macros. More...

#include "iceberg/logging/log_macros.h"

Go to the source code of this file.

Macros

#define LOG_TRACE(...)   ICEBERG_LOG_TRACE(__VA_ARGS__)
 
#define LOG_DEBUG(...)   ICEBERG_LOG_DEBUG(__VA_ARGS__)
 
#define LOG_INFO(...)   ICEBERG_LOG_INFO(__VA_ARGS__)
 
#define LOG_WARN(...)   ICEBERG_LOG_WARN(__VA_ARGS__)
 
#define LOG_ERROR(...)   ICEBERG_LOG_ERROR(__VA_ARGS__)
 
#define LOG_CRITICAL(...)   ICEBERG_LOG_CRITICAL(__VA_ARGS__)
 
#define LOG_FATAL(...)   ICEBERG_LOG_FATAL(__VA_ARGS__)
 

Detailed Description

Opt-in bare LOG_* aliases for the ICEBERG_LOG_* macros.

Separate opt-in header (not pulled in by logger.h or log_macros.h) so the short, unprefixed names never leak into consumers by default – they would collide with glog/abseil/windows.h. Include this header explicitly to use them. No bare LOG(level) is provided.