Added log calls to examples

This commit is contained in:
James Booth
2013-09-01 22:43:01 +01:00
parent d07ccd4b5b
commit 316b382330
3 changed files with 12 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ def prof_init(version, status):
def prof_on_start():
prof.cons_show("python-test: on_start")
prof.log_debug("python-test: logged debug");
prof.log_info("python-test: logged info");
prof.log_warning("python-test: logged warning");
prof.log_error("python-test: logged error");
def prof_on_connect(account_name, fulljid):
prof.cons_show("python-test: on_connect, " + account_name + ", " + fulljid)