These proposed changes are being used in the forked version Loguru used in ECP VTK-m.
Proposed changes are split into two commits:
Encapsulate functions using anonymous, needed for other libraries using this libraries not to export the loguru namespace to avoid possible conflict when there are two libraries/binaries using different Loguru versions and being statically linked together.
Add va_list version of the core functions, varadic MACROS are impossible to opaquely wrap, in this commit I propose an alternative.
These proposed changes are being used in the forked version Loguru used in ECP VTK-m.
Proposed changes are split into two commits:
Encapsulate functions using anonymous, needed for other libraries using this libraries not to export the loguru namespace to avoid possible conflict when there are two libraries/binaries using different Loguru versions and being statically linked together.
Add va_list version of the core functions, varadic MACROS are impossible to opaquely wrap, in this commit I propose an alternative.