init.lua: Print 'info', 'warn', and 'error' loglevels by default.

Mon, 04 Jun 2012 17:38:26 +0200

author
Kim Alvefur <zash@zash.se>
date
Mon, 04 Jun 2012 17:38:26 +0200
changeset 96
c2c30f94e619
parent 95
6b3ee06d5837
child 97
a532667d596e

init.lua: Print 'info', 'warn', and 'error' loglevels by default.

init.lua file | annotate | diff | comparison | revisions
--- a/init.lua	Mon Jun 04 17:37:27 2012 +0200
+++ b/init.lua	Mon Jun 04 17:38:26 2012 +0200
@@ -120,6 +120,8 @@
 		c:hook("incoming-raw", print);
 		c:hook("outgoing-raw", print);
 		verse.set_log_handler(print);
+	else
+		verse.set_log_handler(print, {"info","warn","error"});
 	end
 	
 	for _, plugin in ipairs(config.plugins or {}) do

mercurial