mirror of https://github.com/Icinga/icinga2.git
28 lines
377 B
Plaintext
28 lines
377 B
Plaintext
#include "base/dynamicobject.h"
|
|
|
|
|
|
|
|
#include "base/logger.h"
|
|
|
|
class Logger : DynamicObject
|
|
{
|
|
[config] String severity;
|
|
};
|
|
|
|
class StreamLogger : Logger { };
|
|
|
|
class FileLogger : StreamLogger
|
|
{
|
|
[config] String path;
|
|
};
|
|
|
|
class ConsoleLogger : StreamLogger { };
|
|
|
|
class SyslogLogger : Logger { };
|
|
|
|
class Script : DynamicObject
|
|
{
|
|
[config] String language;
|
|
[config] String code;
|
|
};
|