Refactored logger

This commit is contained in:
gabime
2019-10-18 16:10:30 +03:00
parent f3369677ef
commit fcc809f4f1
4 changed files with 28 additions and 45 deletions

View File

@@ -31,7 +31,6 @@ public:
void enable(size_t size);
void disable();
bool enabled() const;
explicit operator bool() const;
void push_back(const log_msg &msg);
// pop all items in the q and apply the given fun on each of them.