Skip to content

Conversation

@LaszloLango
Copy link
Contributor

Setting the log level should be specified by the actual port.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com

@LaszloLango LaszloLango added enhancement An improvement api Related to the public API jerry-port Related to the port API or the default port implementation labels Jul 14, 2016
@LaszloLango
Copy link
Contributor Author

Related discussion: #1201 (comment)

void jerry_port_default_set_abort_on_fail (bool);
bool jerry_port_default_is_abort_on_fail (void);

void jerry_port_default_set_log_level (jerry_log_level_t);
Copy link
Member

@akosthekiss akosthekiss Jul 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have no use case for it but it would be nice to provide a getter as well, as a convenience.

jerry_log_level_t jerry_port_default_get_log_level (void);

@zherczeg
Copy link
Member

LGTM

Setting the log level should be specified by the actual port.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
@LaszloLango LaszloLango force-pushed the move-debug-log-level-to-default-port branch from b052e87 to f0fd939 Compare July 15, 2016 07:17
@LaszloLango
Copy link
Contributor Author

@akosthekiss, I've updated the PR. Please check.

@akosthekiss
Copy link
Member

LGTM

@LaszloLango LaszloLango merged commit f0fd939 into jerryscript-project:master Jul 15, 2016
@LaszloLango LaszloLango deleted the move-debug-log-level-to-default-port branch September 1, 2016 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Related to the public API enhancement An improvement jerry-port Related to the port API or the default port implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants