mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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.
18 lines
243 B
Plaintext
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"; }}}
|
|
};
|
|
};
|
|
|
|
}
|