Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
9c3f4771
Commit
9c3f4771
authored
Aug 08, 2014
by
Ghislain MARY
Browse files
Serialize logs in the Python wrapper.
parent
211b56c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
tools/python/apixml2python.py
tools/python/apixml2python.py
+1
-0
tools/python/apixml2python/handwritten.mustache
tools/python/apixml2python/handwritten.mustache
+1
-0
No files found.
tools/python/apixml2python.py
View file @
9c3f4771
...
...
@@ -83,6 +83,7 @@ blacklisted_functions = [
'linphone_core_payload_type_enabled'
,
'linphone_core_payload_type_is_vbr'
,
'linphone_core_publish'
,
'linphone_core_serialize_logs'
,
# There is no use to wrap this function
'linphone_core_set_log_file'
,
# There is no use to wrap this function
'linphone_core_set_log_handler'
,
# Hand-written but put directly in the linphone module
'linphone_core_set_log_level'
,
# There is no use to wrap this function
...
...
tools/python/apixml2python/handwritten.mustache
View file @
9c3f4771
...
...
@@ -78,6 +78,7 @@ static void pylinphone_module_log_handler(OrtpLogLevel lev, const char *fmt, va_
}
static void pylinphone_init_logging(void) {
linphone_core_serialize_logs();
linphone_core_set_log_handler(pylinphone_module_log_handler);
linphone_core_set_log_level(ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment