aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-16 11:50:44 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-16 11:50:44 +0100
commit2a09ccbd63cd06a2f5ba3a9e21d6d5a11f3c2980 (patch)
tree324ba879c8dddb4789a60078d3c0251a307104de
parentd37edaecc5fcdcc18ec1615c485f4410d6cbb4bb (diff)
Remove vestiges of logging
Remove the (now non-functional) declarations of olm_set_log_level in the C and js wrappers.
-rw-r--r--include/olm/olm.hh7
-rw-r--r--javascript/olm_post.js2
2 files changed, 0 insertions, 9 deletions
diff --git a/include/olm/olm.hh b/include/olm/olm.hh
index ffecb10..51d5c04 100644
--- a/include/olm/olm.hh
+++ b/include/olm/olm.hh
@@ -415,13 +415,6 @@ 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
diff --git a/javascript/olm_post.js b/javascript/olm_post.js
index 36e7645..5173f7f 100644
--- a/javascript/olm_post.js
+++ b/javascript/olm_post.js
@@ -382,6 +382,4 @@ 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'];
}();