diff options
Diffstat (limited to 'arm_compute/core/Log.h')
-rw-r--r-- | arm_compute/core/Log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arm_compute/core/Log.h b/arm_compute/core/Log.h index 70e7c51110..2d8d396459 100644 --- a/arm_compute/core/Log.h +++ b/arm_compute/core/Log.h @@ -26,6 +26,7 @@ #include "arm_compute/core/utils/logging/Macros.h" +#ifdef ARM_COMPUTE_LOGGING_ENABLED /** Create a default core logger * * @note It will eventually create all default loggers in don't exist @@ -38,6 +39,9 @@ arm_compute::logging::LoggerRegistry::get().create_reserved_loggers(); \ } \ } while(false) +#else /* ARM_COMPUTE_LOGGING_ENABLED */ +#define ARM_COMPUTE_CREATE_DEFAULT_CORE_LOGGER() +#endif /* ARM_COMPUTE_LOGGING_ENABLED */ /** Log a message to the core system logger * |