Skip to content

Think about defining LOG_DECLARE_ISSUE macros in Logging.hpp #41

@eflumerf

Description

@eflumerf

Since #include "logging/Logging.hpp" must be visible to translation units before ERS_DECLARE_ISSUE is called, it may be a good idea to define macros in Logging.hpp of the following form:

#define LOG_DECLARE_ISSUE(...) ERS_DECLARE_ISSUE(va_args)
#define LOG_DECLARE_ISSUE_BASE(...) ERS_DECLARE_ISSUE_BASE(va_args)
...

The idea would be that everything then uses a "logging-style" interface, and reduce confusion about what needs to be included to make ers::Issue classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions