Changeset 1082
- Timestamp:
- 02/18/21 18:56:35 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/loggers/loggers.h
r1075 r1082 55 55 void send(const char *obj, const char *method, int level, const char *msg); 56 56 57 int getOptions() { return options; } 57 58 bool isEnabled() { return manager ? true : false; } 58 59 void enable(); … … 99 100 string getMessages() const { return msgs; } 100 101 string getCountSummary() const; ///< return the standard "... error(s), ... warning(s), ... message(s)" text (or empty string if count==0) 101 102 void setStoreOptions(int opts) {options=options&(~(StoreFirstMessage|StoreAllMessages))|(opts&(StoreFirstMessage|StoreAllMessages));} 103 102 104 LoggerToMemory(int opts = 0, int minimal_level_to_store = LOG_ERROR) :LoggerBase(opts), minleveltostore(minimal_level_to_store) 103 105 {
Note: See TracChangeset
for help on using the changeset viewer.