| 589 | } |
| 590 | |
| 591 | bool Logger::isValidId(const std::string& id) { |
| 592 | for (std::string::const_iterator it = id.begin(); it != id.end(); ++it) { |
| 593 | if (!base::utils::Str::contains(base::consts::kValidLoggerIdSymbols, *it)) { |
| 594 | return false; |
| 595 | } |
| 596 | } |
| 597 | return true; |
| 598 | } |
| 599 | |
| 600 | void Logger::flush(void) { |
| 601 | ELPP_INTERNAL_INFO(3, "Flushing logger [" << m_id << "] all levels"); |