icinga2/lib/base/logger.ti
Alexander A. Klimov de60eb445b Logger: don't render log messages which will be disposed anyway
by caching the total minimum log severity of all loggers in a
"global variable" and whether a message's severity is large enough for any of
the loggers in a per-message no-op flag.
2022-10-26 11:55:10 +02:00

18 lines
243 B
Plaintext

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "base/configobject.hpp"
library base;
namespace icinga
{
abstract class Logger : ConfigObject
{
[config, virtual] String severity {
default {{{ return "information"; }}}
};
};
}