Move log level to default port
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
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
#ifndef JERRY_PORT_DEFAULT_H
|
||||
#define JERRY_PORT_DEFAULT_H
|
||||
|
||||
#include "jerry-port.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -32,6 +34,9 @@ extern "C"
|
||||
void jerry_port_default_set_abort_on_fail (bool);
|
||||
bool jerry_port_default_is_abort_on_fail (void);
|
||||
|
||||
jerry_log_level_t jerry_port_default_get_log_level (void);
|
||||
void jerry_port_default_set_log_level (jerry_log_level_t);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user