Make logging an optional feature and disable it by default (#2449)
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
This commit is contained in:
1 parent
58c568a68f
commit
29f6ffc35b
10 files changed
+59
-6
No files matched your search
@@ -883,6 +883,9 @@ jerry_is_feature_enabled (const jerry_feature_t feature) /**< feature to check *
|
||||
#ifdef JERRY_ENABLE_LINE_INFO
|
||||
|| feature == JERRY_FEATURE_LINE_INFO
|
||||
#endif /* JERRY_ENABLE_LINE_INFO */
|
||||
#ifdef JERRY_ENABLE_LOGGING
|
||||
|| feature == JERRY_FEATURE_LOGGING
|
||||
#endif /* JERRY_ENABLE_LOGGING */
|
||||
);
|
||||
} /* jerry_is_feature_enabled */
|
||||
|
||||
|
||||
Reference in new issue
Block a user