-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Labels
criticalRaises security concernsRaises security concernsdevelopmentFeature implementationFeature implementationecma coreRelated to core ECMA functionalityRelated to core ECMA functionalityfeature requestRequested featureRequested feature
Milestone
Description
Currently the only way to print debug information is using 'fprintf' with JERRY_NDEBUG. It would be helpful to do some logger macros to wrap NDEBUG and fprintf at least. The possibility of setting different debug levels can make this more useful.
Example:
JERRY_DPRINT("This is a first level debug message!", variables);
JERRY_DDPRINT("This is a second level debug message!", variables);
JERRY_DDDPRINT("This is a third level debug message!", variables);
Metadata
Metadata
Assignees
Labels
criticalRaises security concernsRaises security concernsdevelopmentFeature implementationFeature implementationecma coreRelated to core ECMA functionalityRelated to core ECMA functionalityfeature requestRequested featureRequested feature