Software /
code /
prosody
Diff
core/loggingmanager.lua @ 4427:ae71ae5ddcfc
loggingmanager: Remove unused 'critical' level
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 22 Nov 2011 17:56:52 +0000 |
parent | 4141:ef94984c44a0 |
child | 4627:b046cafc81a8 |
line wrap: on
line diff
--- a/core/loggingmanager.lua Tue Nov 22 02:13:42 2011 +0500 +++ b/core/loggingmanager.lua Tue Nov 22 17:56:52 2011 +0000 @@ -41,7 +41,7 @@ local apply_sink_rules; local log_sink_types = setmetatable({}, { __newindex = function (t, k, v) rawset(t, k, v); apply_sink_rules(k); end; }); local get_levels; -local logging_levels = { "debug", "info", "warn", "error", "critical" } +local logging_levels = { "debug", "info", "warn", "error" } -- Put a rule into action. Requires that the sink type has already been registered. -- This function is called automatically when a new sink type is added [see apply_sink_rules()]