VCCC
2024.05
VisualCamp Common C++ library
function_macro.hpp
Go to the documentation of this file.
1
#
/*
2
# * Created by YongGyu Lee on 2021/01/06.
3
# */
4
#
5
# ifndef VCCC_LOG_FUNCTION_MACRO_HPP
6
# define VCCC_LOG_FUNCTION_MACRO_HPP
7
10
11
namespace
vccc
{
12
namespace
internal {
13
17
inline
void
function_name_test() {
18
19
# ifdef __PRETTY_FUNCTION__
20
# define VCCC_FUNCTION __PRETTY_FUNCTION__
21
# elif defined(__FUNCSIG__)
22
# define VCCC_FUNCTION __FUNCSIG__
23
# elif defined(__func__)
24
# define VCCC_FUNCTION __func__
25
# else
26
# define VCCC_FUNCTION ("unknown"
)
27
# endif
28
29
}
30
31
}
// namespace internal
32
}
// namespace vccc
33
55
# define VCCC_FUNCTION_DOXYGEN_HELPER
56
58
59
# endif
// VCCC_LOG_FUNCTION_MACRO_HPP
vccc
Definition:
directory.h:12
include
log
include
vccc
__log
function_macro.hpp
Generated by
1.9.1