Skip to content

Commit c98a810

Browse files
committed
WIP
Signed-off-by: Dave Streeter <[email protected]>
1 parent 206ab3b commit c98a810

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

system/jlib/jlog.ipp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@ class HandleLogMsgHandlerJSON : implements HandleLogMsgHandler, public CInterfac
451451
public:
452452
HandleLogMsgHandlerJSON(FILE * _handle, unsigned _fields) : HandleLogMsgHandler(_handle, _fields) {}
453453
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;
458458
virtual LogHandlerFormat queryFormatType() const override { return LOGFORMAT_json; };
459459
};
460460

@@ -463,10 +463,10 @@ class HandleLogMsgHandlerXML : implements HandleLogMsgHandler, public CInterface
463463
public:
464464
HandleLogMsgHandlerXML(FILE * _handle, unsigned _fields) : HandleLogMsgHandler(_handle, _fields) {}
465465
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;
470470
virtual LogHandlerFormat queryFormatType() const override { return LOGFORMAT_xml; };
471471
};
472472

@@ -475,10 +475,10 @@ class HandleLogMsgHandlerTable : implements HandleLogMsgHandler, public CInterfa
475475
public:
476476
HandleLogMsgHandlerTable(FILE * _handle, unsigned _fields) : HandleLogMsgHandler(_handle, _fields), prepped(false) {}
477477
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;
482482
virtual LogHandlerFormat queryFormatType() const override { return LOGFORMAT_table; };
483483
private:
484484
bool prepped;
@@ -587,7 +587,7 @@ public:
587587
const char *initialName = NULL, const char *alias = NULL, bool daily = false, long _maxLogFileSize = 0);
588588
virtual ~RollingFileLogMsgHandler();
589589
IMPLEMENT_IINTERFACE;
590-
void handleMessage(const LogMsg & msg)
590+
void handleMessage(const LogMsg & msg) override
591591
{
592592
CriticalBlock block(crit);
593593
checkRollover();

0 commit comments

Comments
 (0)