Skip to content

SLIC_DEBUG_IF dependent on AXOM_DEBUG rather than TRIBOL_DEBUG #235

Description

@chapman39

its unexpected for a user to see debug output on a tribol release build, which can happen if as long as axom is built as debug.

it may make sense to add a slic wrapper such that debug output is dependent on tribol debug.

axom slic calls: here

#ifdef TRIBOL_DEBUG
  #define TRIBOL_LOG_DEBUG_IF(EXP, msg) SLIC_INFO_IF(EXP, msg)
#else
  #define TRIBOL_LOG_DEBUG_IF(EXP, msg) // no-op
#endif

// depending on needs we can make wrappers for general slic output, etc.
#define TRIBOL_LOG_IF(EXP, msg) SLIC_INFO_IF(EXP, msg)

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