Ignore:
Timestamp:
05/23/16 13:48:45 (3 years ago)
Author:
Maciej Komosinski
Message:

Improved handling of multiline messages by loggers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/loggers/loggers.h

    r452 r511  
    7171        }
    7272
    73         virtual void handle(const char *obj, const char *method, int level, const char *msg) {}
     73        virtual void handle(const char *obj, const char *method, int level, const char *msg); ///< implemented by loggers accepting multiline messages. if not implemented, the default handle() splits multiline text into single lines and calls handleSingleLine()
     74        virtual void handleSingleLine(const char *obj, const char *method, int level, const char *msg) {}  ///< implemented by loggers expecting single line messages
    7475};
    7576
Note: See TracChangeset for help on using the changeset viewer.