Mercurial > prosody-hg
comparison core/loggingmanager.lua @ 1080:b02290fd8a75
loggingmanager: Add a comment about 'nowhere' sink type
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 30 Apr 2009 14:35:43 +0100 |
| parents | 24c9ee99d900 |
| children | fb096ca4b296 |
comparison
equal
deleted
inserted
replaced
| 1078:24c9ee99d900 | 1080:b02290fd8a75 |
|---|---|
| 120 return set; | 120 return set; |
| 121 end | 121 end |
| 122 | 122 |
| 123 --- Definition of built-in logging sinks --- | 123 --- Definition of built-in logging sinks --- |
| 124 | 124 |
| 125 -- Null sink, must enter log_sink_types *first* | |
| 125 function log_sink_types.nowhere() | 126 function log_sink_types.nowhere() |
| 126 return function () return false; end; | 127 return function () return false; end; |
| 127 end | 128 end |
| 128 | 129 |
| 129 -- Column width for "source" (used by stdout and console) | 130 -- Column width for "source" (used by stdout and console) |
