aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-30 14:35:43 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-30 14:35:43 +0100
commit0e0ebb78ff2b1b0ab1b2c5918e00c2b20e62e1bb (patch)
treec02376fdee591ab544191114a6e649b981e76cf2 /core/loggingmanager.lua
parenta1a1fd2213c069994ddbb9b03e8ae39281deb6d5 (diff)
downloadprosody-0e0ebb78ff2b1b0ab1b2c5918e00c2b20e62e1bb.tar.gz
prosody-0e0ebb78ff2b1b0ab1b2c5918e00c2b20e62e1bb.zip
loggingmanager: Add a comment about 'nowhere' sink type
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 13b091cc..ea0f497d 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -122,6 +122,7 @@ end
--- Definition of built-in logging sinks ---
+-- Null sink, must enter log_sink_types *first*
function log_sink_types.nowhere()
return function () return false; end;
end