![]() |
VCCC
2024.05
VisualCamp Common C++ library
|
Cross-platform logging library. More...
Depends on Boost.Predef and Boost.PFR.
See LOGD, LOGI, LOGID, LOGW, LOGWD, LOGE, LOGED
Modules | |
| LOGD, LOGI, LOGID, LOGW, LOGWD, LOGE, LOGED | |
Classes | |
| class | GlobalStreamWrapperSettings |
| class | Separator |
| Set separator to vccc::BasicStreamWrapper. More... | |
| class | Quoted |
| Manipulator for adding quotation to strings(only to string and string_view) More... | |
| class | ExpandAggregate |
| Manipulator for expanding aggregate types. More... | |
| class | ExpandArray |
| Expand array instead of printing its value. More... | |
| class | IOSFlagsSaver< Stream > |
| RAII wrapper that restores stream's flags on destroyed. More... | |
| class | Logger |
| Ease use of vccc::StreamWrapper. More... | |
| class | StreamManipulator |
| Manipulator for vccc::StreamWrapper. More... | |
| class | StreamWrapperBase< String, Stream > |
| class | BasicStreamWrapper< CharT, String, Stream > |
| stream wrapper that supports extended operator overloading More... | |
Macros | |
| #define | VCCC_FUNCTION_DOXYGEN_HELPER |
VCCC_FUNCTION: platform-wide function name macro More... | |
| #define | VCCC_FILE_SEPARATOR '/' |
| file separator More... | |
| #define | PWD |
| get current working directory More... | |
Typedefs | |
| using | StreamWrapper = BasicStreamWrapper< char > |
Variables | |
| constexpr VCCC_INLINE_OR_STATIC Logger | Log |
| Global vccc::Logger instance for syntax sugar. More... | |
| #define PWD |
returns current calling file's working directory.
This macro must be directly used in code where needed, or it will generate wrong output
| #define VCCC_FILE_SEPARATOR '/' |
| Platform | value |
|---|---|
| Windows | '\\' |
| Others | '/' |
| #define VCCC_FUNCTION_DOXYGEN_HELPER |
Use VCCC_FUNCTION instead of VCCC_FUNCTION_DOXYGEN_HELPER.
(lack of doxygen preprocessing parser)
Output is compiler-specific.
VCCC_FUNCTION is equal to one of the followings
__PRETTY_FUNCTION____FUNCSIG____func__"unknown"| using StreamWrapper = BasicStreamWrapper<char> |
|
constexpr |