clix.lua: Create the logger with the name "clix"

Sat, 30 Jun 2012 01:00:16 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 30 Jun 2012 01:00:16 +0200
changeset 89
a8b63fbad807
parent 88
2c2e241e68df
child 90
3115bd81b9de

clix.lua: Create the logger with the name "clix"

clix.lua file | annotate | diff | comparison | revisions
--- a/clix.lua	Sat Jun 30 00:59:47 2012 +0200
+++ b/clix.lua	Sat Jun 30 01:00:16 2012 +0200
@@ -59,7 +59,7 @@
 		return nil;
 	end
 	verse.set_log_handler(io.stderr, opts.quiet and {} or not opts.verbose and {"info", "error"});
-	local conn = verse.new();
+	local conn = verse.new(verse.new_logger("clix"));
 	for _, plugin in ipairs(plugins or {}) do
 		conn:add_plugin(plugin);
 	end

mercurial