Make logging an optional feature and disable it by default (#2449)
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -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