Define RCSW_ER_MODNAME_BUILDER
Defined in File er.h
Define Documentation
-
RCSW_ER_MODNAME_BUILDER(...)
Takes a comma-separated list of string components of the name you want your module to have. Each “component” corresponds to a level in hierarchical logging scheme. For example, if you want to create a module called “mymodule” in a project called “myproject”, you would do:
#define RCSW_ER_MODNAME RCSW_ER_MODNAME_BUILDER("myproject", "mymodule")
which would be expanded as appropriate (“myproject.mymodule”, “myproject_mymodule”, etc.) depending on the plugin you build RCSW with.
This macro ensures that you can use the same code with multple ER plugins.