Changeset 15080 for trunk/FACT++


Ignore:
Timestamp:
03/15/13 13:42:13 (12 years ago)
Author:
tbretz
Message:
If alarms are cleared sending an empty string, it is not necessary to produce any output on the console.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/MessageImp.cc

    r14544 r15080  
    108108int MessageImp::Write(const Time &time, const string &txt, int severity)
    109109{
     110    if (severity==kAlarm && txt.length()==0)
     111        return 0;
     112
    110113    static mutex mtx;
    111114    const lock_guard<mutex> guard(mtx);
Note: See TracChangeset for help on using the changeset viewer.