[neurun] change logging environment variable name (#2138)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 2 Aug 2018 01:42:49 +0000 (10:42 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 2 Aug 2018 01:42:49 +0000 (10:42 +0900)
Change logging environment variable name: NEURUN_LOG_ENABLE

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
runtimes/neurun/src/logging.h

index 44a8472..b25a03c 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __PURE_ARM_COMPUTE_LOGGING_H__
-#define __PURE_ARM_COMPUTE_LOGGING_H__
+#ifndef __NEURUN_LOGGING_H__
+#define __NEURUN_LOGGING_H__
 
 #include <iostream>
 
@@ -11,7 +11,7 @@ class Context
 public:
   Context() : _enabled{false}
   {
-    auto env = std::getenv("PURE_ARM_COMPUTE_LOG_ENABLE");
+    auto env = std::getenv("NEURUN_LOG_ENABLE");
 
     if (env && std::atoi(env) > 0)
     {
@@ -34,4 +34,4 @@ static Context ctx;
   if (::logging::ctx.enabled()) \
   std::cout << "[" << #name << "] "
 
-#endif // __PURE_ARM_COMPUTE_LOGGING_H__
+#endif // __NEURUN_LOGGING_H__