Changeset

89:a8b63fbad807

clix.lua: Create the logger with the name "clix"
author Kim Alvefur <zash@zash.se>
date Sat, 30 Jun 2012 01:00:16 +0200
parents 88:2c2e241e68df
children 90:3115bd81b9de
files clix.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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