core/loggingmanager.lua

changeset 1101
fb096ca4b296
parent 1080
b02290fd8a75
child 1117
360ec48ea780
--- a/core/loggingmanager.lua	Sun May 03 01:10:49 2009 +0100
+++ b/core/loggingmanager.lua	Sun May 03 17:13:43 2009 +0100
@@ -86,6 +86,9 @@
 			add_rule(sink_config);
 			sink_config.filename = nil;
 		end
+	elseif type(logging_config) == "string" and logging_config:match("^%*(.+)") == sink_type then
+		-- Log all levels (debug+) to this sink
+		add_rule({ levels = { min = "debug" }, to = sink_type });
 	end
 end
 

mercurial