@@ -451,10 +451,10 @@ class HandleLogMsgHandlerJSON : implements HandleLogMsgHandler, public CInterfac
451
451
public:
452
452
HandleLogMsgHandlerJSON (FILE * _handle, unsigned _fields) : HandleLogMsgHandler(_handle, _fields) {}
453
453
IMPLEMENT_IINTERFACE;
454
- void handleMessage (const LogMsg & msg);
455
- bool needsPrep () const { return false ; }
456
- void prep () {}
457
- void addToPTree (IPropertyTree * tree) const ;
454
+ void handleMessage (const LogMsg & msg) override ;
455
+ bool needsPrep () const override { return false ; }
456
+ void prep () override {}
457
+ void addToPTree (IPropertyTree * tree) const override ;
458
458
virtual LogHandlerFormat queryFormatType () const override { return LOGFORMAT_json; };
459
459
};
460
460
@@ -463,10 +463,10 @@ class HandleLogMsgHandlerXML : implements HandleLogMsgHandler, public CInterface
463
463
public:
464
464
HandleLogMsgHandlerXML (FILE * _handle, unsigned _fields) : HandleLogMsgHandler(_handle, _fields) {}
465
465
IMPLEMENT_IINTERFACE;
466
- void handleMessage (const LogMsg & msg);
467
- bool needsPrep () const { return false ; }
468
- void prep () {}
469
- void addToPTree (IPropertyTree * tree) const ;
466
+ void handleMessage (const LogMsg & msg) override ;
467
+ bool needsPrep () const override { return false ; }
468
+ void prep () override {}
469
+ void addToPTree (IPropertyTree * tree) const override ;
470
470
virtual LogHandlerFormat queryFormatType () const override { return LOGFORMAT_xml; };
471
471
};
472
472
@@ -475,10 +475,10 @@ class HandleLogMsgHandlerTable : implements HandleLogMsgHandler, public CInterfa
475
475
public:
476
476
HandleLogMsgHandlerTable (FILE * _handle, unsigned _fields) : HandleLogMsgHandler(_handle, _fields), prepped(false ) {}
477
477
IMPLEMENT_IINTERFACE;
478
- void handleMessage (const LogMsg & msg);
479
- bool needsPrep () const { return !prepped; }
480
- void prep () { CriticalBlock block (crit); LogMsg::fprintTableHead (handle, messageFields); prepped = true ; }
481
- void addToPTree (IPropertyTree * tree) const ;
478
+ void handleMessage (const LogMsg & msg) override ;
479
+ bool needsPrep () const override { return !prepped; }
480
+ void prep () override { CriticalBlock block (crit); LogMsg::fprintTableHead (handle, messageFields); prepped = true ; }
481
+ void addToPTree (IPropertyTree * tree) const override ;
482
482
virtual LogHandlerFormat queryFormatType () const override { return LOGFORMAT_table; };
483
483
private:
484
484
bool prepped;
@@ -587,7 +587,7 @@ public:
587
587
const char *initialName = NULL , const char *alias = NULL , bool daily = false , long _maxLogFileSize = 0 );
588
588
virtual ~RollingFileLogMsgHandler ();
589
589
IMPLEMENT_IINTERFACE;
590
- void handleMessage (const LogMsg & msg)
590
+ void handleMessage (const LogMsg & msg) override
591
591
{
592
592
CriticalBlock block (crit);
593
593
checkRollover ();
0 commit comments