Commit 4a74fd92 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Revert "Remove vestiges of logging"

Re-enable the logging stuff on the logging_enabled branch.

This reverts commit 2a09ccbd.
parent eb3bad77
......@@ -415,6 +415,13 @@ size_t olm_ed25519_verify(
void * signature, size_t signature_length
);
/**
* Set the log level. By default, 1, which logs only FATAL messages.
*/
void olm_set_log_level(
unsigned int level
);
#ifdef __cplusplus
}
#endif
......
......@@ -382,4 +382,6 @@ Utility.prototype['ed25519_verify'] = restore_stack(function(
olm_exports["Account"] = Account;
olm_exports["Session"] = Session;
olm_exports["Utility"] = Utility;
olm_exports['set_log_level'] = Module['_olm_set_log_level'];
}();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment