mirror of https://github.com/Icinga/icinga2.git
parent
dac4ac02a9
commit
53c1434700
|
@ -42,10 +42,6 @@ using namespace icinga;
|
|||
REGISTER_TYPE(CompatLogger);
|
||||
REGISTER_SCRIPTFUNCTION(ValidateRotationMethod, &CompatLogger::ValidateRotationMethod);
|
||||
|
||||
CompatLogger::CompatLogger(void)
|
||||
: m_LastRotation(0)
|
||||
{ }
|
||||
|
||||
/**
|
||||
* @threadsafety Always.
|
||||
*/
|
||||
|
|
|
@ -39,16 +39,12 @@ public:
|
|||
DECLARE_PTR_TYPEDEFS(CompatLogger);
|
||||
DECLARE_TYPENAME(CompatLogger);
|
||||
|
||||
CompatLogger(void);
|
||||
|
||||
static void ValidateRotationMethod(const String& location, const Dictionary::Ptr& attrs);
|
||||
|
||||
protected:
|
||||
virtual void Start(void);
|
||||
|
||||
private:
|
||||
double m_LastRotation;
|
||||
|
||||
void WriteLine(const String& line);
|
||||
void Flush(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue