VCCC
2024.05
VisualCamp Common C++ library
log_impl.h
Go to the documentation of this file.
1
#
/*
2
# Created by YongGyu Lee on 2021/04/05.
3
# */
4
#
5
# ifndef VCCC_LOG_DETAIL_LOG_IMPL_H_
6
# define VCCC_LOG_DETAIL_LOG_IMPL_H_
7
#
8
# include "
vccc/__log/detail/buffer.h
"
9
#
10
# ifdef NDEBUG
11
# define LOGD_IMPL(tag, fmt, ...)
12
# else
13
# define LOGD_IMPL(tag, fmt, ...) VCCC_LOG_EXPAND(VCCC_LOG_PRINTER(VCCC_LOG_BUFFER_DEBUG, tag, fmt, __VA_ARGS__))
14
# endif
15
#
16
# define LOGI_IMPL(tag, fmt, ...) VCCC_LOG_EXPAND(VCCC_LOG_PRINTER(VCCC_LOG_BUFFER_INFO, tag, fmt, __VA_ARGS__))
17
# define LOGW_IMPL(tag, fmt, ...) VCCC_LOG_EXPAND(VCCC_LOG_PRINTER(VCCC_LOG_BUFFER_WARN, tag, fmt, __VA_ARGS__))
18
# define LOGE_IMPL(tag, fmt, ...) VCCC_LOG_EXPAND(VCCC_LOG_PRINTER(VCCC_LOG_BUFFER_ERROR, tag, fmt, __VA_ARGS__))
19
#
20
# endif
//VCCC_LOG_DETAIL_LOG_IMPL_H_
buffer.h
include
log
include
vccc
__log
detail
log_impl.h
Generated by
1.9.1