mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
5b5cae693f
Events with just 1 argument fail before this change Former-commit-id: 69cbb51c56054208417e464dc6e46a94ccb3bbeb [formerly fbb03244929beb0ce8f9c607ce33d107e8319b89] Former-commit-id: 984154c1ba79f1fe8bf0106a604b2765ea312079
21 lines
674 B
C
Executable File
21 lines
674 B
C
Executable File
#if !defined(DUK_LOGGING_H_INCLUDED)
|
|
#define DUK_LOGGING_H_INCLUDED
|
|
|
|
#include "duktape.h"
|
|
|
|
/* Log levels */
|
|
#define DUK_LOG_TRACE 0
|
|
#define DUK_LOG_DEBUG 1
|
|
#define DUK_LOG_INFO 2
|
|
#define DUK_LOG_WARN 3
|
|
#define DUK_LOG_ERROR 4
|
|
#define DUK_LOG_FATAL 5
|
|
|
|
/* No flags at the moment. */
|
|
|
|
extern void duk_logging_init(duk_context *ctx, duk_uint_t flags);
|
|
extern void duk_log_va(duk_context *ctx, duk_int_t level, const char *fmt, va_list ap);
|
|
extern void duk_log(duk_context *ctx, duk_int_t level, const char *fmt, ...);
|
|
|
|
#endif /* DUK_LOGGING_H_INCLUDED */
|